Optional
geometry: Geometry | Primitive.PrimitiveOptional
material: anyThe array of child objects.
Retrieves the GPU device associated with the current instance.
The GPU device.
Returns the number of children of the object.
The number of children.
설정된 부모 객체값을 반환합니다.
Retrieves the UUID of the object.
The UUID of the object.
Fires the dirty listeners list.
Optional
resetList: boolean = falseIndicates whether to reset the dirty listeners list after firing.
Add a child to the parent at a specific index.
The child to be added to the parent.
The index at which the child should be added.
Checks if the given child Mesh is contained within the current object.
The child Mesh to be checked.
Retrieves the child object at the specified index.
The index of the child object to retrieve.
Returns the index of a child object within the container.
The child object to find the index of.
Optional
targetY: numberOptional
targetZ: numberRemoves a child at the specified index from the object's children array.
The index of the child to be removed.
Returns the removed child object, or null if the index is out of range or the child does not exist.
Sets the index of a child object within the object's children array.
The child object whose index will be set.
The new index position for the child object.
Optional
y: numberOptional
z: numberOptional
rotationY: numberOptional
rotationZ: numberOptional
y: numberOptional
z: number
Retrieve the array of child objects attached to this object.