Struct ViewPose
Stores the View element pose.
Namespace: Evergine.Framework.Graphics
Assembly: Evergine.Framework.dll
Syntax
public struct ViewPose
Fields
Orientation
The orientation of the eye.
Declaration
public Quaternion Orientation
Field Value
Type | Description |
---|---|
Quaternion |
Position
The position of the eye.
Declaration
public Vector3 Position
Field Value
Type | Description |
---|---|
Vector3 |
Properties
ZeroIdentity
Gets the default value for a view pose.
Declaration
public static ViewPose ZeroIdentity { get; }
Property Value
Type | Description |
---|---|
ViewPose |
Methods
Equals(ViewPose)
Determines if two poses are equal.
Declaration
public bool Equals(ViewPose other)
Parameters
Type | Name | Description |
---|---|---|
ViewPose | other | The other pose. |
Returns
Type | Description |
---|---|
bool | True if both are equal. |
Equals(object)
Indicates whether this instance and a specified object are equal.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current instance. |
Returns
Type | Description |
---|---|
bool | true if |
Overrides
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A 32-bit signed integer that is the hash code for this instance. |
Overrides
Operators
operator ==(ViewPose, ViewPose)
Declaration
public static bool operator ==(ViewPose left, ViewPose right)
Parameters
Type | Name | Description |
---|---|---|
ViewPose | left | |
ViewPose | right |
Returns
Type | Description |
---|---|
bool |
operator !=(ViewPose, ViewPose)
Declaration
public static bool operator !=(ViewPose left, ViewPose right)
Parameters
Type | Name | Description |
---|---|---|
ViewPose | left | |
ViewPose | right |
Returns
Type | Description |
---|---|
bool |