One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

HasModel

protocol · iOS 13.0+ · SDK 27.1

@MainActor @preconcurrency protocol HasModel : HasTransform

An interface that provides meshes and materials to define the visual appearance of an entity.

Members (10)

get · iOS 13.0+

jointNames

Swift declaration
@MainActor @preconcurrency var jointNames: [String] { get }

The names of all the joints in the model entity.

get · iOS 18.0+

blendWeights

Swift declaration
@MainActor @preconcurrency var blendWeights: [[Float]] { get set }

The blend shape weights in the model entity.

set · iOS 18.0+

blendWeights

Swift declaration
@MainActor @preconcurrency var blendWeights: [[Float]] { get set }

The blend shape weights in the model entity.

get · iOS 13.0+

jointTransforms

Swift declaration
@MainActor @preconcurrency var jointTransforms: [Transform] { get set }

The relative joint transforms of the model entity. Call ``RealityKit/BodyTrackedEntity/jointNames`` to determine the name and order of the joints. - Note: Active animations may override the joint transforms set using this property.

set · iOS 13.0+

jointTransforms

Swift declaration
@MainActor @preconcurrency var jointTransforms: [Transform] { get set }

The relative joint transforms of the model entity. Call ``RealityKit/BodyTrackedEntity/jointNames`` to determine the name and order of the joints. - Note: Active animations may override the joint transforms set using this property.

get · iOS 18.0+

blendWeightNames

Swift declaration
@MainActor @preconcurrency var blendWeightNames: [[String]] { get }

The names of the weights on each blend shape in the model entity.

get · iOS 14.0+

modelDebugOptions

Swift declaration
@MainActor @preconcurrency var modelDebugOptions: ModelDebugOptionsComponent? { get set }

Configures the debug visualization of this model.

set · iOS 14.0+

modelDebugOptions

Swift declaration
@MainActor @preconcurrency var modelDebugOptions: ModelDebugOptionsComponent? { get set }

Configures the debug visualization of this model.

get · iOS 13.0+

model

Swift declaration
@MainActor @preconcurrency var model: ModelComponent? { get set }

The model component for the entity.

set · iOS 13.0+

model

Swift declaration
@MainActor @preconcurrency var model: ModelComponent? { get set }

The model component for the entity.

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →