Struct Normal
A container for normal, tangent, and bitangent values.
Syntax
public struct Normal : IEquatable<Normal>
Properties
bitangent
Declaration
public Vector3 bitangent { get; set; }
Property Value
Type |
Description |
Vector3 |
A unit bitangent (sometimes called binormal).
|
normal
Declaration
public Vector3 normal { get; set; }
Property Value
Type |
Description |
Vector3 |
A unit normal.
|
tangent
Declaration
public Vector4 tangent { get; set; }
Property Value
Type |
Description |
Vector4 |
A unit tangent.
|
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
Equals(Normal)
Declaration
public bool Equals(Normal other)
Parameters
Type |
Name |
Description |
Normal |
other |
|
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Operators
Equality(Normal, Normal)
Declaration
public static bool operator ==(Normal a, Normal b)
Parameters
Returns
Inequality(Normal, Normal)
Declaration
public static bool operator !=(Normal a, Normal b)
Parameters
Returns