Class CachedTextureCoordinates

Constructors

Properties

count: number

Number of cached coordinates.

dimension: number
isReadOnly: boolean

This collection is always read-only

mappingId: string

The texture mapping Id.

Methods

  • Returns boolean

    Description

    Determines whether this collection contains a specific value.

  • Parameters

    • item: number[]

      The point (UV or UVW) to locate in this collection.

    Returns number

    The index of item if found in the list; otherwise, -1.

    Description

    Determines the index of a specific point in this collection.

  • Parameters

    • index: number

      Index for the vertex to fetch.

    Returns object

    [boolean, number, number, number] (boolean) Returns true if index is valid; otherwise returns false. (number) Output parameter which will receive the U value. (number) Output parameter which will receive the V value. (number) Output parameter which will receive the W value, this is only meaningful if is 3.

    Description

    Use this method to iterate the cached texture coordinate array.

Generated using TypeDoc