Struct Rotation
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: AltV.Net.CApi.dll
Syntax
public struct Rotation : IEquatable<Rotation>
Constructors
|
Improve this Doc
View Source
Rotation()
Declaration
|
Improve this Doc
View Source
Rotation(Single, Single, Single)
Declaration
public Rotation(float roll, float pitch, float yaw)
Parameters
Type |
Name |
Description |
System.Single |
roll |
|
System.Single |
pitch |
|
System.Single |
yaw |
|
Fields
|
Improve this Doc
View Source
Pitch
Declaration
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Roll
Declaration
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Yaw
Declaration
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Zero
Declaration
public static Rotation Zero
Field Value
Methods
|
Improve this Doc
View Source
Equals(Rotation)
Declaration
public bool Equals(Rotation other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
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)
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
|
Improve this Doc
View Source
ToRadians()
Declaration
public Rotation ToRadians()
Returns
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.ValueType.ToString()
Operators
|
Improve this Doc
View Source
Implicit(Rotation to Position)
Declaration
public static implicit operator Position(Rotation rotation)
Parameters
Returns
|
Improve this Doc
View Source
Implicit(Rotation to Vector3)
Declaration
public static implicit operator Vector3(Rotation rotation)
Parameters
Returns
Type |
Description |
System.Numerics.Vector3 |
|
|
Improve this Doc
View Source
Implicit(Vector3 to Rotation)
Declaration
public static implicit operator Rotation(Vector3 vector3)
Parameters
Type |
Name |
Description |
System.Numerics.Vector3 |
vector3 |
|
Returns
Implements
System.IEquatable<T>