Selva Compute API Reference - v2.1.0
    Preparing search index...
    Index

    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

      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.

      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.

      Use this method to iterate the cached texture coordinate array.