Skip to main content

LensStudio:HierarchyUtils.js.CreateOptions

Interface

Represents the options for creating a scene object.

Index

Properties

componentType

componentType: string | string[]

The type(s) of component(s) to be attached to the new object. if null, no component will be attached.


name

name: string

The name of the new object


parent

parent: SceneObject

The parent object under which the new object will be created.


scene

scene: Scene

The scene in which the object will be created.