Class WireframeRenderer

Handles rendering of the wireframes for SceneObjects.

Hierarchy

  • FrameworkObject
    • WireframeRenderer

Constructors

Accessors

  • get isManualModeEnabled(): boolean
  • Enable the manual selection for renderable objects.

    Returns boolean

  • set isManualModeEnabled(value): void
  • Parameters

    • value: boolean

    Returns void

Methods

  • Adds a manual sceneObject to the render list. All renderables in the mesh will be selected for rendering.

    Parameters

    Returns any

    Must be called before the next call to update.

  • Adds a manual renderable to the list that renders a sub section of the mesh at the specified lodIndex.

    Parameters

    • renderable: Renderable

      The renderable.

    • lodIndex: number

      The LOD group index

    • indexOffset: number

      The offset in the mesh index buffer.

    • indexCount: number

      The number of indices to render.

    • color: Immutable<SRGBColor>

      The optional tint color.

    • OptionaldrawOperationType: EnumValue<MeshTopology, number>

      The draw operation type.

    Returns any

    Must be called before the next call to update.

  • Clears the list of manually selected elements.

    Returns void

  • Destroy the renderer and unregister it from other subsystems.

    Returns void

  • Update the render data if needed and submit the render job to the core thread.

    Parameters

    Returns void