Gets the disposed status of the entity.
The disposed status.
Constructs a new OverrideWireframe Behavior.
The context manager.
The Object3D instance.
Get the instance of the ZComponent that constructed this entity.
If you pass the class of a ZComponent as the type
parameter, this function will ensure that it
returns an instance of that ZComponent. If this component or behavior was constructed by a different
ZComponent class, or by a different entity altogether, the function with throw
an error.
Optional
type: ConstructorForComponent<T>The ZComponent class that you are expecting to receive
The instance of the ZComponent that constructed this component or behavior
Register a function to be called when an Event is fired, or an Observable's value changes. The function will only be bound to the underlying Event or Observable while this entity is enabled.
Using this function, rather than attaching your handler directly to the Event or Observable, ensures your handler is automatically released when this entity is disposed.
Rest
...args: ArgsOptional
options: RegisterOptionsOptional
options: RegisterOptionsReadonly
enabledIf false
, this entity and its children will no longer participate in the experience.
Note - to read this value, you may wish to use enabledResolved
which will be false
if
this entity, or any of its parents, have enabled
set to false.
The precise implications of enabled
being false will vary between entities,
but in general disabled entities:
Readonly
contextReadonly
enabledThis will have value false
if this entity, or any of its parents, have enabled
set to false
.
To change the enabled
status of this entity, use the enabled
property instead.
The precise implications of enabled
being false will vary between entities,
but in general disabled entities:
Disabled entities will typically remain visible (if they have a visible appearance).
The Object3D instance.
Readonly
onAn event that is fired as the last act of this entity being destroyed.
Toggle the wireframe value on the materials
A behavior that overrides the opacity of the object.
It iterates over all the materials of the object and sets their opacity to the value of the behavior.
This behavior is registered to run at design time.
See
https://threejs.org/docs/?q=materia#api/en/materials/Material.opacity
Zparents
three/Object3D/**
Zicon
opacity