sparkengineweb
    Preparing search index...

    Class ShapeComponent

    Represents a primitive Shape like rectangle, circle, etc

    Hierarchy

    • BaseDrawableComponent
      • ShapeComponent

    Implements

    Index

    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