SwiftstructRealityFoundation
struct RealityKit.ModelComponent
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolRealityKit.Component
- protocolSwift.CustomReflectable
Members 15
- func
static __fromCore(_: RealityKit.__ComponentRef, borrowStrongReference: Bool) -> RealityKit.ModelComponent - func
static __fromCore(RealityKit.__ComponentRef) -> RealityKit.ModelComponent - func
static animation(from: RealityKit.ModelComponent, to: RealityKit.ModelComponent) -> (from: RealityFoundation.ComponentAnimatableData<RealityKit.ModelComponent>, to: RealityFoundation.ComponentAnimatableData<RealityKit.ModelComponent>) - var
static var __coreComponentType: RealityKit.__ComponentTypeRef { get } - field
var _boundsMargin: Float+0x10 - field
var deformation: RealityFoundation._Proto_MeshDeformation_v1+0x18 - field
var materials: [RealityKit.Material]+0x8 - field
var mesh: RealityKit.MeshResource+0x0 - func
__toCore(_: RealityKit.__ComponentRef, returnStrongReference: Bool) -> () - func
__toCore(RealityKit.__ComponentRef) -> () - init
init(mesh: RealityKit.MeshResource, materials: [RealityKit.Material], deformation: RealityFoundation._Proto_MeshDeformation_v1) -> RealityKit.ModelComponent - init
init(mesh: RealityKit.MeshResource, materials: [RealityKit.Material]) -> RealityKit.ModelComponent - init
init(mesh: RealityKit.MeshResource, materials: [RealityKit.Material], _: () -> [RealityFoundation._Proto_MeshDeformation_v1.Stack]) throws -> RealityKit.ModelComponent - var
var boundsMargin: Float { get set } - var
var customMirror: Mirror { get }
Header
struct ModelComponent { var mesh: RealityKit.MeshResource var materials: [any RealityKit.Material] var _boundsMargin: Swift.Float var deformation: RealityFoundation._Proto_MeshDeformation_v1 init(mesh: RealityKit.MeshResource, materials: [any RealityKit.Material], deformation: RealityFoundation._Proto_MeshDeformation_v1) init(mesh: RealityKit.MeshResource, materials: [any RealityKit.Material]) init(mesh: RealityKit.MeshResource, materials: [any RealityKit.Material], _: () -> [RealityFoundation._Proto_MeshDeformation_v1.Stack]) throws var boundsMargin: Swift.Float { get set } func __toCore(_: RealityKit.__ComponentRef, returnStrongReference: Swift.Bool) func __toCore(_: RealityKit.__ComponentRef) static var __coreComponentType: RealityKit.__ComponentTypeRef { get } static func __fromCore(_: RealityKit.__ComponentRef, borrowStrongReference: Swift.Bool) -> RealityKit.ModelComponent static func __fromCore(_: RealityKit.__ComponentRef) -> RealityKit.ModelComponent }