The RenderComponentElement interface provides properties and methods for manipulating <pc-render> elements. The RenderComponentElement interface also inherits the properties and methods of the HTMLElement interface.

Hierarchy (View Summary)

Accessors

  • get type(): | "asset"
    | "box"
    | "plane"
    | "sphere"
    | "capsule"
    | "cylinder"
    | "cone"
  • Gets the type of the render component.

    Returns "asset" | "box" | "plane" | "sphere" | "capsule" | "cylinder" | "cone"

    The type.

  • set type(
        value:
            | "asset"
            | "box"
            | "plane"
            | "sphere"
            | "capsule"
            | "cylinder"
            | "cone",
    ): void
  • Sets the type of the render component.

    Parameters

    • value: "asset" | "box" | "plane" | "sphere" | "capsule" | "cylinder" | "cone"

      The type.

    Returns void

Methods