One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

MeshResource.JointInfluences

struct · iOS 18.0+ · SDK 27.1

struct JointInfluences

A buffer of vertex-joint influences which bind the mesh part's vertices to a skeleton via a skinning deformation. Each vertex is associated with a fixed number of influences. If `influencesPerVertex` is 4, then there should be four elements in the buffer of joint influences for each vertex in the mesh part. - Note: If a particular vertex needs fewer influences than the `influencesPerVertex` value, the influences for that vertex can be padded with zero-weight influences.

Members (2)

init · iOS 18.0+

init

TypeScript
static init(influences: MeshBuffer<MeshJointInfluence>, influencesPerVertex: number): Promise<MeshResource_JointInfluences>
Swift declaration
init(influences: MeshBuffers.JointInfluences, influencesPerVertex: Int)

Associates every vertex in the mesh with a fixed number of influences per vertex. - Parameters: - influences: Buffer of joint influences. - influencesPerVertex: The number of consecutive influences used by each vertex. - Note: The buffer should contain `vertexCount * influencesPerVertex` elements.

get · iOS 18.0+

influences

TypeScript
get influences(): Promise<MeshBuffer<MeshJointInfluence>>
Swift declaration
var influences: MeshBuffers.JointInfluences { get }

Buffer of joint influences.

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →