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 |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.ValueType.Equals(System.Object)
Equals(Normal)
Declaration
public bool Equals(Normal other)
Parameters
Type |
Name |
Description |
Normal |
other |
|
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
Operators
Equality(Normal, Normal)
Declaration
public static bool operator ==(Normal a, Normal b)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Inequality(Normal, Normal)
Declaration
public static bool operator !=(Normal a, Normal b)
Parameters
Returns
Type |
Description |
System.Boolean |
|