One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

MeshDeformer

protocol · iOS 27.0+ · SDK 27.1

protocol MeshDeformer : Decodable, Encodable, Equatable, Sendable

An interface for all deformation types in a deformation definition, both built-in and custom. The users overrides all functions to implement a custom `MeshDeformer`, and can in general ignore all but the constructors for built-in deformers.

Members (4)

get · iOS 27.0+

mode

Swift declaration
var mode: MeshDeformerExecutionMode { get }

defaults to returning static mode

get · iOS 27.0+

type

Swift declaration
var type: String { get }

default implementation provided, returns `Self.type`

method · iOS 27.0+

deform

Swift declaration
func deform(parameter: MeshDeformParameterCPU)

default, no-op implementaiton for `cpu` version of `deform` as its primary intention is to aid debugging

get · iOS 27.0+

options

Swift declaration
var options: MeshDeformerOptions { get }

returns default `MeshDeformerOptions`

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

MeshDeformer.mode

Static protocol requirements cannot be called through an instance.

All RealityFoundation types →