skeletonID
TypeScriptget skeletonID(): Promise<(string) | null>Swift declarationvar skeletonID: String? { get set }Identifier of the skeleton that this mesh part is bound to (if it is skinned).
struct · iOS 15.0+ · SDK 27.1
struct PartA part of a model consisting of a single material.
get skeletonID(): Promise<(string) | null>Swift declarationvar skeletonID: String? { get set }Identifier of the skeleton that this mesh part is bound to (if it is skinned).
setSkeletonID(value?: (string) | null): Promise<void>Swift declarationvar skeletonID: String? { get set }Identifier of the skeleton that this mesh part is bound to (if it is skinned).
get materialIndex(): Promise<number>Swift declarationvar materialIndex: Int { get set }Material index for the part.
setMaterialIndex(value: number): Promise<void>Swift declarationvar materialIndex: Int { get set }Material index for the part.
get jointInfluences(): Promise<(MeshResource_JointInfluences) | null>Swift declarationvar jointInfluences: MeshResource.JointInfluences? { get set }A buffer of vertex-joint influences which defines how the mesh deforms in response to the skeleton that it is bound to. Each vertex may be influenced by one or more joints defined by the skeleton.
setJointInfluences(value?: (MeshResource_JointInfluences) | null): Promise<void>Swift declarationvar jointInfluences: MeshResource.JointInfluences? { get set }A buffer of vertex-joint influences which defines how the mesh deforms in response to the skeleton that it is bound to. Each vertex may be influenced by one or more joints defined by the skeleton.
get triangleIndices(): Promise<(MeshBuffer<number>) | null>Swift declarationvar triangleIndices: MeshBuffers.TriangleIndices? { get set }Index buffer for triangles.
setTriangleIndices(value?: (MeshBuffer<number>) | null): Promise<void>Swift declarationvar triangleIndices: MeshBuffers.TriangleIndices? { get set }Index buffer for triangles.
static init(id: string, materialIndex: number): Promise<MeshResource_Part>Swift declarationinit(id: String, materialIndex: Int)Create a new part.
get id(): Promise<string>Swift declarationvar id: StringThe stable identity of the entity associated with this instance.
setId(value: string): Promise<void>Swift declarationvar id: StringThe stable identity of the entity associated with this instance.
get buffers(): Promise<NativeMap<MeshBuffers_Identifier, AnyMeshBuffer>>Swift declarationvar buffers: [MeshBuffers.Identifier : AnyMeshBuffer] { get }Descriptors for the buffers.
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MeshResource.Part.subscript(_:)
This declaration needs Swift generic type arguments. (no canonical witness for S)