Class ModuleMesh.UvChannel
Contains data and meta-data for uploading a UV channel to a Unity Mesh.
Inheritance
System.Object
ModuleMesh.UvChannel
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: CarbideFunction.Wildtile
Syntax
public class UvChannel
Fields
channelWidth
The actual size for the UV channel. Should be 2, 3, or 4. When uploading to a mesh, remove the extra dimensions from each element in fullWidthChannel.
Declaration
public int channelWidth
Field Value
Type | Description |
---|---|
System.Int32 |
fullWidthChannel
All UV data for a channel. This data is stored in Vector4s, the largest width UV channel supported by Unity.
Declaration
public List<Vector4> fullWidthChannel
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<Vector4> |