Skip to main content

Interface: RenderableComponent

Renderable component data.

Extends​

Properties​

componentType​

componentType: ComponentType;

Component type.

Inherited from​

Component.componentType


enabled​

enabled: boolean;

Whether the component is enabled.

Inherited from​

Component.enabled


mesh?​

optional mesh: `${string}-${string}-${string}-${string}-${string}`;

Mesh UUID.


materialList​

materialList: (undefined | `${string}-${string}-${string}-${string}-${string}`)[];

Material UUIDs by slot.


receiveShadows​

receiveShadows: boolean;

Whether the renderable receives shadows.


castShadows​

castShadows: ShadowCastingMode;

Shadow casting mode.


culling​

culling: boolean;

Whether culling is enabled.