Struct GcAccelerationEvent
- Namespace
- GameCanvas
- Assembly
- GameCanvas.dll
加速度イベント
public readonly struct GcAccelerationEvent : IEquatable<GcAccelerationEvent>
- Implements
- Inherited Members
Fields
Acceleration
加速度計の値
public readonly float3 Acceleration
Field Value
- float3
Remarks
キャンバス座標系で扱いやすいよう、Y軸, Z軸 の値をそれぞれ反転しています
DeltaTime
前回の計測からの経過時間(秒)
public readonly float DeltaTime
Field Value
Null
public static readonly GcAccelerationEvent Null
Field Value
RawAcceleration
加速度計の実際の値
public readonly float3 RawAcceleration
Field Value
- float3
Time
計測時刻(秒)
public readonly float Time
Field Value
Methods
Equals(GcAccelerationEvent)
public bool Equals(GcAccelerationEvent other)
Parameters
other
GcAccelerationEvent
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(GcAccelerationEvent, GcAccelerationEvent)
public static bool operator ==(GcAccelerationEvent lh, GcAccelerationEvent rh)
Parameters
Returns
operator !=(GcAccelerationEvent, GcAccelerationEvent)
public static bool operator !=(GcAccelerationEvent lh, GcAccelerationEvent rh)