Skip to content

Class: PrefabNode

Constructors

Properties

Methods

Constructors

constructor

new PrefabNode(): PrefabNode

Returns

PrefabNode

Properties

name

name: string

Defined in

src/loader/parser/prefab/prefabData/PrefabNode.ts:28


parentName

parentName: string

Defined in

src/loader/parser/prefab/prefabData/PrefabNode.ts:30


position

position: Vector3

Defined in

src/loader/parser/prefab/prefabData/PrefabNode.ts:32


rotation

rotation: Quaternion

Defined in

src/loader/parser/prefab/prefabData/PrefabNode.ts:34


scale

scale: Vector3

Defined in

src/loader/parser/prefab/prefabData/PrefabNode.ts:36


comDatas

comDatas: ComData[]

Defined in

src/loader/parser/prefab/prefabData/PrefabNode.ts:38


child

child: PrefabNode[]

Defined in

src/loader/parser/prefab/prefabData/PrefabNode.ts:40

Methods

parser

parser(bytesArray): PrefabNode

Parameters

NameType
bytesArrayBytesArray

Returns

PrefabNode

Defined in

src/loader/parser/prefab/prefabData/PrefabNode.ts:42

Released under the MIT License