SwiftstructRealityFoundation

struct RealityKit.ModelComponent

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 15

  1. funcstatic __fromCore(_: RealityKit.__ComponentRef, borrowStrongReference: Bool) -> RealityKit.ModelComponent
  2. funcstatic __fromCore(RealityKit.__ComponentRef) -> RealityKit.ModelComponent
  3. funcstatic animation(from: RealityKit.ModelComponent, to: RealityKit.ModelComponent) -> (from: RealityFoundation.ComponentAnimatableData<RealityKit.ModelComponent>, to: RealityFoundation.ComponentAnimatableData<RealityKit.ModelComponent>)
  4. varstatic var __coreComponentType: RealityKit.__ComponentTypeRef { get }
  5. fieldvar _boundsMargin: Float+0x10
  6. fieldvar deformation: RealityFoundation._Proto_MeshDeformation_v1+0x18
  7. fieldvar materials: [RealityKit.Material]+0x8
  8. fieldvar mesh: RealityKit.MeshResource+0x0
  9. func__toCore(_: RealityKit.__ComponentRef, returnStrongReference: Bool) -> ()
  10. func__toCore(RealityKit.__ComponentRef) -> ()
  11. initinit(mesh: RealityKit.MeshResource, materials: [RealityKit.Material], deformation: RealityFoundation._Proto_MeshDeformation_v1) -> RealityKit.ModelComponent
  12. initinit(mesh: RealityKit.MeshResource, materials: [RealityKit.Material]) -> RealityKit.ModelComponent
  13. initinit(mesh: RealityKit.MeshResource, materials: [RealityKit.Material], _: () -> [RealityFoundation._Proto_MeshDeformation_v1.Stack]) throws -> RealityKit.ModelComponent
  14. varvar boundsMargin: Float { get set }
  15. varvar customMirror: Mirror { get }
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
}