Creates a joint selector transformer using a list of joint keys to be ignored.
- Parameters:
- ignoredJoints: joint keys to be ignored and set to zero in the pose.
get · iOS 16.0+
ignoredJoints
TypeScript
get ignoredJoints(): (Array<JointKey>) | null
Swift declaration
var ignoredJoints: [JointKey]?
A list of joint keys to be ignored.
set · iOS 16.0+
ignoredJoints
TypeScript
set ignoredJoints(value: (Array<JointKey>) | null)
Creates a joint selector transformer using a list of joint keys to be selected.
- Parameters:
- selectedJoints: joint keys to be selected from the pose.
get · iOS 16.0+
selectedJoints
TypeScript
get selectedJoints(): (Array<JointKey>) | null
Swift declaration
var selectedJoints: [JointKey]?
A list of joint keys to be selected.
set · iOS 16.0+
selectedJoints
TypeScript
set selectedJoints(value: (Array<JointKey>) | null)
Swift declaration
var selectedJoints: [JointKey]?
A list of joint keys to be selected.
get · iOS 16.0+
debugDescription
TypeScript
get debugDescription(): string
Swift declaration
var debugDescription: String { get }
A textual representation of this instance, suitable for debugging.
Calling this property directly is discouraged. Instead, convert an
instance of any type to a string by using the `String(reflecting:)`
initializer. This initializer works with any type, and uses the custom
`debugDescription` property for types that conform to
`CustomDebugStringConvertible`:
struct Point: CustomDebugStringConvertible {
let x: Int, y: Int
var debugDescription: String {
return "(\(x), \(y))"
}
}
let p = Point(x: 21, y: 30)
let s = String(reflecting: p)
print(s)
// Prints "(21, 30)"
The conversion of `p` to a string in the assignment to `s` uses the
`Point` type's `debugDescription` property.
Select joints to be included in the pose. Ignored joints will be reset to zero in all fields.
- Parameters:
- input: A pose.
- eventHandler: An event handler.
- Returns: A pose with the ignored joints set to zero.