Skip to main content

Interface: PrefabAsset

Prefab asset data.

Extends

Properties

name

name: string;

Asset name.

Inherited from

Asset.name


uuid

uuid: `${string}-${string}-${string}-${string}-${string}`;

Asset UUID.

Inherited from

Asset.uuid


assetType

assetType: AssetType;

Asset type.

Inherited from

Asset.assetType


rootEntity?

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

Root entity UUID.


entities

entities: Set<`${string}-${string}-${string}-${string}-${string}`>;

Entity UUIDs.


properties

properties: Map<`${string}-${string}-${string}-${string}-${string}`, PropertyComponent>;

Property components by entity UUID.


transforms

transforms: Map<`${string}-${string}-${string}-${string}-${string}`, TransformComponent>;

Transform components by entity UUID.


renderables

renderables: Map<`${string}-${string}-${string}-${string}-${string}`, RenderableComponent>;

Renderable components by entity UUID.


grabbles

grabbles: Map<`${string}-${string}-${string}-${string}-${string}`, GrabbleComponent>;

Grabble components by entity UUID.


rigidbodies

rigidbodies: Map<`${string}-${string}-${string}-${string}-${string}`, RigidbodyComponent>;

Rigidbody components by entity UUID.


lights

lights: Map<`${string}-${string}-${string}-${string}-${string}`, LightComponent>;

Light components by entity UUID.


cameras

cameras: Map<`${string}-${string}-${string}-${string}-${string}`, CameraComponent>;

Camera components by entity UUID.


colliders

colliders: Map<`${string}-${string}-${string}-${string}-${string}`, ColliderComponent>;

Collider components by entity UUID.