Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

Hierarchy

  • Shape

Index

Properties

geometry: G

The geometry of the shape, e.g. Mesh or Lines

groupCount: number

Number of groups in the geometry

id: UUID

A uuid to identify a shape object

name: string

A name to describe the shape

sourceData: unknown

The data used to create the shape

transforms: <internal>.Mat4[]

An array of transformation matrices to describe multiple instances of the geometry

Methods

  • Get color for a given group

    Parameters

    • groupId: number
    • instanceId: number

    Returns <internal>.Color

  • getLabel(groupId: number, instanceId: number): string
  • Get label for a given group

    Parameters

    • groupId: number
    • instanceId: number

    Returns string

  • getSize(groupId: number, instanceId: number): number
  • Get size for a given group

    Parameters

    • groupId: number
    • instanceId: number

    Returns number

Generated using TypeDoc