Class CameraPoseProperty
CameraPose
Inheritance
System.Object
CameraPoseProperty
Implements
SensCord.IBaseProperty
Namespace: TofAr.V0
Assembly: TofArAssembly.dll
Syntax
[MessagePackObject(false)]
public class CameraPoseProperty : IBaseProperty
Fields
acceleration
Gravitational acceleration of device
Declaration
[Key("acceleration")]
public TofArVector3 acceleration
Field Value
Type |
---|
TofArVector3 |
position
Camera position
Declaration
[Key("position")]
public TofArVector3 position
Field Value
Type |
---|
TofArVector3 |
rotation
Camera rotation
Declaration
[Key("rotation")]
public TofArQuaternion rotation
Field Value
Type |
---|
TofArQuaternion |
Properties
Acceleration
Gravitational acceleration
Declaration
[IgnoreMember]
public Vector3 Acceleration { get; set; }
Property Value
Type |
---|
UnityEngine.Vector3 |
Position
Position
Declaration
[IgnoreMember]
public Vector3 Position { get; set; }
Property Value
Type |
---|
UnityEngine.Vector3 |
Rotation
Rotation
Declaration
[IgnoreMember]
public Quaternion Rotation { get; set; }
Property Value
Type |
---|
UnityEngine.Quaternion |
Methods
Equals(Object)
Compare
Declaration
public override bool Equals(object other)
Parameters
Type | Name | Description |
---|---|---|
System.Object | other | Object to compare |
Returns
Type | Description |
---|---|
System.Boolean | Returns true when equal |
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Get hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
System.Object.GetHashCode()
Implements
SensCord.IBaseProperty