True once this Component has been destroyed.
Don't use this Component if this is true
.
Protected
dirtyID of this SectionPlane, unique within the View.
Readonly
viewThe View to which this SectionPlane belongs.
Gets if this SectionPlane is active or not.
Default value is true
.
Returns true
if active.
Sets if this SectionPlane is active or not.
Default value is true
.
Set true
to activate else false
to deactivate.
Gets the direction of this SectionPlane's plane.
Default value is [0, 0, -1]
.
value Current direction.
Sets the direction of this SectionPlane's plane.
Default value is [0, 0, -1]
.
New direction.
Gets this SectionPlane's distance to the origin of the World-space coordinate system.
This is the dot product of SectionPlane.pos and SectionPlane.dir and is automatically re-calculated each time either of two properties are updated.
Distance to the origin of the World-space coordinate system.
Gets the World-space position of this SectionPlane's plane.
Default value is [0, 0, 0]
.
Current position.
Sets the World-space position of this SectionPlane's plane.
Default value is [0, 0, 0]
.
New position.
Protected
cleanForces this component to action any deferred state updates.
Protected
cleanGives this component an opportunity to action any defered state updates.
Destroys this SectionPlane.
Protected
errorProtected
Logs an error for this component to the JavaScript console.
The console message will have this format: [ERROR] [<component type> =<component id>: <message>
The error message to log
Inverts the direction of SectionPlane.dir.
Protected
logProtected
Logs a message for this component.
The message will have this format: [LOG] [<component type> <component id>: <message>
The message to log
Protected
setFlags this component as having a defered state updates it needs to perform.
Gets the current configuration of this SectionPlane.
Protected
warnProtected
Logs a warning for this component to the JavaScript console.
The console message will have this format: [WARN] [<component type> =<component id>: <message>
The warning message to log
Readonly
onEmits an event each time SectionPlane.active changes.
Emits an event when the Component has been destroyed.
Readonly
onEmits an event each time SectionPlane.dir changes.
Readonly
onEmits an event each time SectionPlane.pos changes.
An arbitrarily-aligned World-space clipping plane.
See @xeokit/sdk/viewer for usage info.