User Manual

Model

The Model component enables an entity to render a primitive shape or a model asset.

The Model component can be enabled or disabled using the toggle in the top right of the component panel. If enabled, the model will be added to the scene and rendered.

Model component

Properties

Property Description
Type The type of the model to be rendered. Can be:
  • Asset
  • Box
  • Capsule
  • Cone
  • Cylinder
  • Plane
  • Sphere
Asset The model asset rendered by this model component. Only applies to models of type 'asset'. Only a single model can be rendered per model component.
Cast Shadows If enabled, the model rendered by this component will cast shadows onto other models in the scene.
Cast Lightmap Shadows If enabled, the model rendered by this component will cast shadows into lightmaps.
Receive Shadows If enabled, the model rendered by this component will receive shadows cast by other models in the scene.
Static If the model never moves, check this box as a hint to the engine to make certain optimizations.
Lightmapped If enabled, this model does not receive lighting from dynamic lights. Instead it receives lighting generated by lightmap lights.
Batch Group The Batch Group that this model belongs to. More on Batching here.

Scripting Interface

You can control a Model component's properties using a script component. The Model component's scripting interface is here.

Customizing Materials

You can learn how to customize the materials of your model here.