Instance Methodmigueldeicaza.swiftgodot 0.45.0SwiftGodot
findInteractionProfile(name:)
Find an interaction profile by its name (path).
OpenXRActionMap.swift:320final func findInteractionProfile(name: String) -> OpenXRInteractionProfile?
Other members in extension
Type members
Instance members
var actionSets: GArray
Collection of
OpenXRActionSet
s that are part of this action map.var interactionProfiles: GArray
Collection of
OpenXRInteractionProfile
s that are part of this action map.func addActionSet(OpenXRActionSet?
) Add an action set.
func addInteractionProfile(OpenXRInteractionProfile?
) Add an interaction profile.
func createDefaultActionSets(
) Setup this action set with our default actions.
func findActionSet(name: String
) -> OpenXRActionSet? Retrieve an action set by name.
func getActionSet(idx: Int32
) -> OpenXRActionSet? Retrieve the action set at this index.
func getActionSetCount(
) -> Int32 Retrieve the number of actions sets in our action map.
func getInteractionProfile(idx: Int32
) -> OpenXRInteractionProfile? Get the interaction profile at this index.
func getInteractionProfileCount(
) -> Int32 Retrieve the number of interaction profiles in our action map.
func removeActionSet(OpenXRActionSet?
) Remove an action set.
func removeInteractionProfile(OpenXRInteractionProfile?
) Remove an interaction profile.