One Logo Pool Ball
PHASE · IOS API REFERENCE

PHASEShape

class · iOS 15.0+ · SDK 27.1

class PHASEShape

Members (3)

init · iOS 15.0+

init

TypeScript
static initEngineMesh(engine: PHASEEngine, mesh: _ModelIO_MDLMesh): PHASEShape
Swift declaration
init(engine: PHASEEngine, mesh: MDLMesh)
init · iOS 15.0+

init

TypeScript
static initEngineMeshMaterials(engine: PHASEEngine, mesh: _ModelIO_MDLMesh, materials: Array<PHASEMaterial>): PHASEShape
Swift declaration
convenience init(engine: PHASEEngine, mesh: MDLMesh, materials: [PHASEMaterial])
get · iOS 15.0+

elements

TypeScript
get elements(): Array<PHASEShape_Element>
Swift declaration
var elements: [PHASEShape.Element] { get }

Skipped declarations

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

PHASEShape.init()

inherited init: cannot prove legal (class declares 2 custom initializers)

All PHASE types →