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

Hierarchy (View Summary)

Accessors

  • get tonemap(): | "linear"
    | "none"
    | "filmic"
    | "hejl"
    | "aces"
    | "aces2"
    | "neutral"
  • Gets the tone mapping of the camera.

    Returns "linear" | "none" | "filmic" | "hejl" | "aces" | "aces2" | "neutral"

    The tone mapping.

  • set tonemap(
        value:
            | "linear"
            | "none"
            | "filmic"
            | "hejl"
            | "aces"
            | "aces2"
            | "neutral",
    ): void
  • Sets the tone mapping of the camera.

    Parameters

    • value: "linear" | "none" | "filmic" | "hejl" | "aces" | "aces2" | "neutral"

      The tone mapping.

    Returns void

Methods