Table of Contents

Class CGMaterialSettings

UV and Material transformation settings

[Serializable]
public class CGMaterialSettings
Inheritance
CGMaterialSettings
Derived

Fields

KeepAspect

Options to keep texel size proportional

[Tooltip("Options to keep texel size proportional")]
public CGKeepAspectMode KeepAspect

Field Value

CGKeepAspectMode

SwapUV

When true, the U and V coordinates are swapped

public bool SwapUV

Field Value

bool

UVOffset

Offset applied to the UV coordinates

public Vector2 UVOffset

Field Value

Vector2

UVRotation

Rotation applied to the UV coordinates

public float UVRotation

Field Value

float

UVScale

Scale applied to the UV coordinates

public Vector2 UVScale

Field Value

Vector2