Class TextureTransform
KHR_texture_transform glTF extension
Inherited Members
Namespace: GLTFast.Schema
Assembly: glTFast.dll
Syntax
[Serializable]
public class TextureTransform
Fields
offset
The offset of the UV coordinate origin as a factor of the texture dimensions.
Declaration
public float[] offset
Field Value
Type | Description |
---|---|
float[] |
rotation
Rotate the UVs by this many radians counter-clockwise around the origin. This is equivalent to a similar rotation of the image clockwise.
Declaration
public float rotation
Field Value
Type | Description |
---|---|
float |
scale
The scale factor applied to the components of the UV coordinates.
Declaration
public float[] scale
Field Value
Type | Description |
---|---|
float[] |
texCoord
Overrides the textureInfo texCoord value if supplied, and if this extension is supported.
Declaration
public int texCoord
Field Value
Type | Description |
---|---|
int |