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

PropertyDescription
Type The type of the model to be rendered. Can be:
  • Asset
  • Box
  • Capsule
  • Cone
  • Cylinder
  • Plane
  • Sphere
AssetThe 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 ShadowsIf enabled, the model rendered by this component will cast shadows onto other models in the scene.
Cast Lightmap ShadowsIf enabled, the model rendered by this component will cast shadows into lightmaps.
Receive ShadowsIf enabled, the model rendered by this component will receive shadows cast by other models in the scene.
StaticIf the model never moves, check this box as a hint to the engine to make certain optimizations.
LightmappedIf enabled, this model does not receive lighting from dynamic lights. Instead it receives lighting generated by lightmap lights.

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.