One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

IKResource

class · iOS 18.0+ · SDK 27.1

class IKResource

A reference counted immutable resource which contains one or more inverse kinematics solver rigs. Use this resource with an ``IKComponent``.

Members (2)

get · iOS 18.0+

solverDefinitions

TypeScript
get solverDefinitions(): Array<IKSolverDefinition>
Swift declaration
var solverDefinitions: [IKSolverDefinition] { get }

Getter for the deserialized resource contents as a collection of solver definitions.

init · iOS 18.0+

init

TypeScript
static init(rig: IKRig): IKResource
Swift declaration
convenience init(rig: IKRig) throws

Creates a new resource instance for a single solver using the given rig and an automatic solver identifier. - Parameter rig: The inverse kinematics rig to be serialised into the resource. - Throws: Validation errors for the given rig structure.

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →