registerAction()
Registers the action into the action-types registry.
Declaration
static func registerAction()Discussion
Registering an action allows RealityKit to retrieve its AnimationResource definitions.
Registering an action may not be necessary, because RealityKit automatically registers the action when you:
Initialize an ActionAnimation with this action.
Subscribe to it in any way, including subscribing an ActionHandlerProtocol.