Implements

  • IInstantiateOptions

Constructors

Properties

components?: boolean

If true the components will be cloned as well

true
keepWorldPosition?: boolean

for duplicatable parenting

position?: Vector3

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

rotation?: Quaternion

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