One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

BlendShapeDeformer

struct · iOS 27.0+ · SDK 27.1

struct BlendShapeDeformer

A blend-shape deformation that interpolates between N meshes according to a weighted sum. Consumes information from the `BlendShapeWeightsComponent`

Members (4)

method · iOS 27.0+

isDeformerEqual

TypeScript
isDeformerEqual(other: SDKHandle): boolean
Swift declaration
func isDeformerEqual(other: any MeshDeformer) -> Bool

default implementation is provided

get · iOS 27.0+

type

TypeScript
static get type(): string
Swift declaration
static var type: String { get }

Provide a unique identifier for type of deformer. There can only be one `deform` function associated with each type String. However, each `deform` can vary greatly based on run time options and input.

method · iOS 27.0+

deform

TypeScript
deform(parameter: MeshDeformParameter<SDKHandle, SDKHandle>, encoder: SDKHandle): void
Swift declaration
func deform(parameter: MeshDeformParameterGPU, encoder: any MTLComputeCommandEncoder)

deform the mesh on the GPU (the preferred method)

init · iOS 27.0+

init

TypeScript
static init(): BlendShapeDeformer
Swift declaration
init()

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →