Class ShapeComponent

Represents a primitive Shape like rectangle, circle, etc

Hierarchy

  • BaseDrawableComponent
    • ShapeComponent

Implements

Constructors

Properties

isWireframe: boolean = false

Whether to render the primitive mesh as a Wireframe or as a full mesh

shapeType: Rectangle = PrimitiveType.Rectangle

The primitive type of the shape

uuid: string = ...

Accessors

Methods

  • Put a draw call in the renderer taking into account the component data

    Parameters

    Returns void

  • Parameters

    Returns void