API (v2.0.0) - Giro3D
    Preparing search index...

    Describes a transformation of a point in 2D space without rotation. Typically used for to transform texture coordinates.

    Hierarchy

    • Vector4
      • OffsetScale
    Index

    Constructors

    • Parameters

      • OptionaloffsetX: number
      • OptionaloffsetY: number
      • OptionalscaleX: number
      • OptionalscaleY: number

      Returns OffsetScale

    Properties

    isOffsetScale: true

    Accessors

    Methods

    • Transforms the point.

      Parameters

      • point: Vector2

        The point to transform.

      • target: Vector2 = ...

        The target to fill with the transformed point.

      Returns Vector2

      The transformed point.