Table of Contents

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

float

Null

public static readonly GcAccelerationEvent Null

Field Value

GcAccelerationEvent

RawAcceleration

加速度計の実際の値

public readonly float3 RawAcceleration

Field Value

float3

Time

計測時刻(秒)

public readonly float Time

Field Value

float

Methods

Equals(GcAccelerationEvent)

public bool Equals(GcAccelerationEvent other)

Parameters

other GcAccelerationEvent

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(GcAccelerationEvent, GcAccelerationEvent)

public static bool operator ==(GcAccelerationEvent lh, GcAccelerationEvent rh)

Parameters

lh GcAccelerationEvent
rh GcAccelerationEvent

Returns

bool

operator !=(GcAccelerationEvent, GcAccelerationEvent)

public static bool operator !=(GcAccelerationEvent lh, GcAccelerationEvent rh)

Parameters

lh GcAccelerationEvent
rh GcAccelerationEvent

Returns

bool