Protocol

HasModel

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

Declaration

protocol HasModel

Topics

Getting the Component

var model: ModelComponent?

The model component for the entity.

struct ModelComponent

A collection of resources that create the visual appearance of an entity.

Managing Joints

var jointNames: [String]

The names of all the joints in the entity.

var jointTransforms: [Transform]

The relative joint transforms of the entity.

Relationships

Inherits From

Conforming Types

See Also

Configuring the Model

var model: ModelComponent?

The model component for the model entity.

struct ModelComponent

A collection of resources that create the visual appearance of an entity.

var jointNames: [String]

The names of all the joints in the model entity.

var jointTransforms: [Transform]

The relative joint transforms of the model entity.