ClipPlaneCreatedEvent

Event that is fired when a clip plane is created in the scene. Contains the clip plane ID and an object with all the initial properties of the clip plane.

Hierarchy (View Summary)

Properties

clipPlaneID: number

The ID of the clip plane that was created

id: number

The unique ID of the event.

An object containing all properties of the created clip plane

transactionCode?: string

The transaction code associated with the event.

transactionID?: number

The transaction ID associated with the event.

type?: EventType

The type of the event.

Accessors

  • get disabled(): boolean
  • Returns boolean

    The disabled getter is deprecated. Please use ClipPlaneProperties.enabled instead (note that disabled = !enabled).

    Returns whether the clip plane is disabled. This is the inverse of the enabled property in the properties object.

  • get invisible(): boolean
  • Returns boolean

    The invisible getter is deprecated. Please use ClipPlaneProperties.invisible instead.

    Returns whether the clip plane is visually hidden. When true, the clip plane's wireframe outline will not be displayed, though the clipping effect remains active.

  • get localTransform(): | Float32Array<ArrayBufferLike>
    | [
        number,
        number,
        number,
        number,
        number,
        number,
        number,
        number,
        number,
        number,
        number,
        number,
        number,
        number,
        number,
        number,
    ]
  • Returns
        | Float32Array<ArrayBufferLike>
        | [
            number,
            number,
            number,
            number,
            number,
            number,
            number,
            number,
            number,
            number,
            number,
            number,
            number,
            number,
            number,
            number,
        ]

    The localTransform getter is deprecated. Please use ClipPlaneProperties.transform instead.

    Returns the 4x4 transformation matrix that defines the position, rotation, and scale of the clip plane in world space.

  • get name(): string
  • Returns string

    The name getter is deprecated. Please use ClipPlaneProperties.name instead.

    Returns the display name of the clip plane, which can be used for identification in user interfaces or for debugging purposes.

  • get normal(): Float32Array<ArrayBufferLike> | [number, number, number]
  • Returns Float32Array<ArrayBufferLike> | [number, number, number]

    The normal getter is deprecated. Please use ClipPlaneProperties.normal instead.

    Returns the normal vector of the clip plane, which defines its orientation in space.

  • get point(): Float32Array<ArrayBufferLike> | [number, number, number]
  • Returns Float32Array<ArrayBufferLike> | [number, number, number]

    The point getter is deprecated. Please use ClipPlaneProperties.position instead.

    Returns the position of the clip plane in world space.

  • get position(): Float32Array<ArrayBufferLike> | [number, number, number]
  • Returns Float32Array<ArrayBufferLike> | [number, number, number]

    The position getter is deprecated. Please use ClipPlaneProperties.position instead.

    Returns the position of the clip plane in world space.