Component3DData interface
Base class for all components data interfaces. It contains the common properties for all components
Signature:
export interface Component3DData
Properties
Property |
Modifiers |
Type |
Description |
---|---|---|---|
string |
(Optional) | ||
Record<string, Component3DData> |
(Optional) List of children components | ||
(Optional) Physics paramaters for the component (rigidbody type, collider type, etc) | |||
string |
(Optional) if not provided, an auto id will be generated | ||
string |
(Optional) name for the component. Defaults to "" | ||
string |
(Optional) id of the parent component | ||
(Optional) Attach an identifier or a tag to a component, so that can be easily accessed in the ComponentManager | |||
unknown |
Type of the component (model, video, platform, kitbash, etc) |