Skip to content

Class: DrawModelContext

Fields

This class has no fields.

Functions

GetModelName()

Returns the name of the model.

GetEntity()

Returns the entity linked to the drawn model, can be nil.

ForcedMaterialOverride(mat)

Replace material used to draw the model. Material can be found or created via materials. API

DrawExtraPass()

Redraws the model. Can be used to achieve various effects with different materials.

SetDrawOriginal()

Set if original draw function should be called.