dacha
    Preparing search index...

    Interface WorldScale

    The scale of an actor in the scene. It is transform.world.scale.

    Reading x or y computes the value from the parent actors. Setting it changes the local scale so that the world scale gets the new value.

    Index
    x y
    • get x(): number

      The x value of the world scale.

      Returns number

    • set x(val: number): void

      The x value of the world scale.

      Parameters

      • val: number

      Returns void

    • get y(): number

      The y value of the world scale.

      Returns number

    • set y(val: number): void

      The y value of the world scale.

      Parameters

      • val: number

      Returns void