Instantiation options for syncInstantiate

Implements

Constructors

Properties

components?: boolean

If true the components will be cloned as well

true
idProvider?: UIDProvider

The ID provider for generating unique IDs / guids

keepWorldPosition?: boolean

for duplicatable parenting

position?: Vector3 | [number, number, number]

position in local space. Set keepWorldPosition to true if this is world space

rotation?: Quaternion | Euler | [number, number, number]

rotation in local space. Set keepWorldPosition to true if this is world space

visible?: boolean

if the instantiated object should be visible

Methods