Skip to main content

Module model

Module model 

Source

Structs§

Bone
A single bone in a skeleton.
Camera
A 3D camera with perspective projection settings.
Light
A 3D light source (Point or Directional).
Material
Handle to a 3D model resource.
MeshDataPersistent
Model
ModelPart
SceneGlobals
Global scene-level environment settings.
SkinData
Structure representing skeletal animation skin data.
Vertex

Functions§

create
Creates a model from vertex/index data.
create_cube
Creates a cube model.
create_empty
Creates an empty model.
create_plane
Creates a plane model.
create_sphere
Creates a sphere model.
draw_instanced
Draws instanced models from borrowed transform data.
draw_instanced_shared
Draws instanced models from Arc-backed shared transform data.
draw_with_shader
Draws a model with a custom shader into a specific target.