Instantiation options for syncInstantiate

Implements

  • IInstantiateOptions

Constructors

Properties

components?: boolean

If true the components will be cloned as well

true
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 | [number, number, number] | Euler

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

visible?: boolean

if the instantiated object should be visible

Methods

  • Copy fields from another object, clone field references

    Parameters

    Returns void