コンテンツにスキップ

OverlayTransform クラス

Represents an overlay position and rotation that is applied to OpenVR when changed.

名前空間: FloatSoda.OVR.Overlay
アセンブリ: FloatSoda.OVR.dll

public abstract class OverlayTransform

object ← OverlayTransform

DeviceTrackedOverlayTransform, WorldOverlayTransform

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Gets or sets the overlay translation in meters.

public Vector3 Position { get; set; }

Vector3

Gets or sets the overlay orientation.

public Quaternion Rotation { get; set; }

Quaternion

Writes the current transform to OpenVR.

public abstract void Apply()

Builds the affine transformation matrix for the current position and rotation.

protected Matrix4x4 GetMatrix()

Matrix4x4