Class QuakeFace
Represents a face (plane) in a Quake brush.
public class QuakeFace
- Inheritance
-
QuakeFace
- Inherited Members
Constructors
QuakeFace()
Creates a new empty face.
public QuakeFace()
QuakeFace(Vector3, Vector3, Vector3, string)
Creates a new face with the specified points and texture.
public QuakeFace(Vector3 p1, Vector3 p2, Vector3 p3, string textureName)
Parameters
p1Vector3The first point on the plane.
p2Vector3The second point on the plane.
p3Vector3The third point on the plane.
textureNamestringThe name of the texture to apply to the face.
Properties
Distance
The distance of the plane from the origin.
public float Distance { get; }
Property Value
Normal
The normal vector of the plane.
public Vector3 Normal { get; }
Property Value
Plane1
The first point on the plane.
public Vector3 Plane1 { get; set; }
Property Value
Plane2
The second point on the plane.
public Vector3 Plane2 { get; set; }
Property Value
Plane3
The third point on the plane.
public Vector3 Plane3 { get; set; }
Property Value
Rotation
The rotation of the texture in degrees.
public float Rotation { get; set; }
Property Value
TextureName
The name of the texture to apply to the face.
public string TextureName { get; set; }
Property Value
UAxis
Valve [u] axis in Quake space. Null on Standard faces.
public Vector3? UAxis { get; set; }
Property Value
VAxis
Valve [v] axis in Quake space. Null on Standard faces.
public Vector3? VAxis { get; set; }
Property Value
XOffset
The X offset of the texture.
public float XOffset { get; set; }
Property Value
XScale
The X scale of the texture.
public float XScale { get; set; }
Property Value
YOffset
The Y offset of the texture.
public float YOffset { get; set; }
Property Value
YScale
The Y scale of the texture.
public float YScale { get; set; }