Class Face

Namespace
Elegy.Common.Assets.BrushMapData
Assembly
Elegy.Common.dll
public class Face
Inheritance
Face
Inherited Members

Fields

MaterialName

public string MaterialName

Field Value

string

Plane

public Plane Plane

Field Value

Plane

PlaneDefinition

public Vector3[] PlaneDefinition

Field Value

Vector3[]

Polygon

public Polygon3 Polygon

Field Value

Polygon3

ProjectionUVS

public Vector4[] ProjectionUVS

Field Value

Vector4[]

Rotation

public float Rotation

Field Value

float

Scale

public Vector2 Scale

Field Value

Vector2

Properties

Centre

public Vector3 Centre { get; }

Property Value

Vector3

Methods

CalculateUV(Vector3, uint, uint)

public Vector2 CalculateUV(Vector3 point, uint imageWidth, uint imageHeight)

Parameters

point Vector3
imageWidth uint
imageHeight uint

Returns

Vector2