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

    Constructors

    Properties

    enabled: boolean

    If the texture is enabled then it will be visible in the rendered display otherwise it will not.

    fileName: string

    Gets or sets a file name that is used by this texture. NOTE: We are moving away from string-based FileName, and suggest the usage of the new FileReference class.Also, this filename may well not be a path that makes sense on a user's computer because it was a path initially set on a different user's computer. If you want to get a workable path for this user, use the BitmapTable.Find function using this property.

    id: string

    Gets the globally unique identifier of this texture.

    offset: number[]

    Helper for access to the offset value encoded in UvwTransform

    repeat: number[]

    Helper for access to the repeat value encoded in UvwTransform

    rotation: number

    Helper for access to the rotation value encoded in UvwTransform

    textureType: TextureType

    Controls how the pixels in the bitmap are interpreted

    uvwTransform: Transform

    Transform to be applied to each instance of this texture if ApplyUvw is true

    Texture wrapping mode in the U direction

    Texture wrapping mode in the V direction

    Texture wrapping mode in the W direction

    Methods

    • ...

      Returns FileReference