InputAction クラス
アクション入力の非ジェネリック基底です。InputAction%601 を型消去して
InputActionMap に収集するために使います。直接継承はできません。
名前空間: FloatSoda.OVR.Input
アセンブリ: FloatSoda.OVR.dll
public abstract class InputAction継承したメンバー
Section titled “継承したメンバー”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
DefaultBindings
Section titled “DefaultBindings”コントローラー種別ごとの初期割り当ての宣言を取得します。 空の場合は SuggestedPath が全コントローラー種別へ複製されます。
public IReadOnlyList<DefaultBinding> DefaultBindings { get; init; }プロパティの値
Section titled “プロパティの値”IsActive
Section titled “IsActive”このアクションが現在いずれかの物理入力にバインドされているかを取得します。
public bool IsActive { get; }プロパティの値
Section titled “プロパティの値”LocalizedName
Section titled “LocalizedName”SteamVRのバインディングUIに表示される名前を取得します。省略時は Name が使われます。
public string? LocalizedName { get; init; }プロパティの値
Section titled “プロパティの値”アクション名を取得します(例: grab)。
マニフェスト上のフルパスは /actions/{map}/in/{name} になります。
public required string Name { get; init; }プロパティの値
Section titled “プロパティの値”SuggestedPath
Section titled “SuggestedPath”全コントローラー種別に共通で提案する入力パスを取得します
(例: /user/hand/right/input/trigger/click)。
コントローラーごとに割り当てを変えたい場合は DefaultBindings を使います。
public string? SuggestedPath { get; init; }