postprocessing - v7.0.0-beta.16
    Preparing search index...

    Class Resolution

    A resolution.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    AUTO_SIZE: -1 = AUTO_SIZE

    An auto sizing constant.

    Can be used to automatically calculate the width or height based on the original aspect ratio.

    Accessors

    • get height(): number

      The effective height, calculated based on the preferred size, pixel ratio and resolution scale.

      Returns number

    • get width(): number

      The effective width, calculated based on the preferred size, pixel ratio and resolution scale.

      Returns number

    Methods

    • Sets the base size in logical pixels.

      Parameters

      • width: number

        The width.

      • height: number

        The height.

      Returns void

    • Sets the preferred size in logical pixels.

      Parameters

      • width: number

        The width.

      • height: number

        The height.

      Returns void