Interface P3dTextureOptions

Texture assignment options

interface P3dTextureOptions {
    offsetU?: number;
    offsetV?: number;
    rotation?: number;
    scaleU?: number;
    scaleV?: number;
    uv?: 0 | 1;
}

Properties

offsetU?: number

Texture transform U coordinate offset

offsetV?: number

Texture transform V coordinate offset

rotation?: number

Texture transform rotation

scaleU?: number

Texture transform U coordinate scale

scaleV?: number

Texture transform V coordinate scale

uv?: 0 | 1

UV map (0 or 1) that the texture is mapped to