Documentation

Draw Model - Open Dev Kit Documentation

Open Dev Kit Documentation :: GUI :: Render Context :: Draw Model

GUI.RenderContext.DrawModel(
  Model Model*,
  Track Integer,
  Time Double,
  Speed Double,
  Repeating Method Standard Repeating Method,
  Tint Color Color HDR,
  Tint Specular Color HDR
) 
Draws a model based on the render context's transformations (not all renderers support this)

Parameters

Model Model*
Model to be drawn
Track Integer
Animation track to play; -1 for none
Time Double
Time duration in seconds for the animation track
Speed Double
Time factor for the animation; 1.0 for normal
Repeating Method Standard Repeating Method
Method used when model animation is repeated
Tint Color Color HDR
Tint color to apply to the model's diffuse surfaces
Tint Specular Color HDR
Tint color to apply to the model's specular highlights

Return Value

Nothing

If you think anything is missing, please feel free to: submit documentation feedback on this page