Edit

Share via


MDLVoxelArray.SetVoxels Method

Definition

Overloads

SetVoxels(MDLMesh, Int32, Single)
SetVoxels(MDLMesh, Int32, Int32, Int32, Single)
SetVoxels(MDLMesh, Int32, Single, Single, Single)

SetVoxels(MDLMesh, Int32, Single)

[Foundation.Export("setVoxelsForMesh:divisions:patchRadius:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetVoxels (ModelIO.MDLMesh mesh, int divisions, float patchRadius);
abstract member SetVoxels : ModelIO.MDLMesh * int * single -> unit
override this.SetVoxels : ModelIO.MDLMesh * int * single -> unit

Parameters

mesh
MDLMesh
divisions
Int32
patchRadius
Single
Attributes

Applies to

SetVoxels(MDLMesh, Int32, Int32, Int32, Single)

[Foundation.Export("setVoxelsForMesh:divisions:interiorShells:exteriorShells:patchRadius:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.None, "Use 'SetVoxels (MDLMesh, int, float)' instead.")]
[ObjCRuntime.Obsoleted(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'SetVoxels (MDLMesh, int, float)' instead.")]
public virtual void SetVoxels (ModelIO.MDLMesh mesh, int divisions, int interiorShells, int exteriorShells, float patchRadius);
abstract member SetVoxels : ModelIO.MDLMesh * int * int * int * single -> unit
override this.SetVoxels : ModelIO.MDLMesh * int * int * int * single -> unit

Parameters

mesh
MDLMesh
divisions
Int32
interiorShells
Int32
exteriorShells
Int32
patchRadius
Single
Attributes

Applies to

SetVoxels(MDLMesh, Int32, Single, Single, Single)

[Foundation.Export("setVoxelsForMesh:divisions:interiorNBWidth:exteriorNBWidth:patchRadius:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.None, "Use 'SetVoxels (MDLMesh, int, float)' instead.")]
[ObjCRuntime.Obsoleted(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'SetVoxels (MDLMesh, int, float)' instead.")]
public virtual void SetVoxels (ModelIO.MDLMesh mesh, int divisions, float interiorNBWidth, float exteriorNBWidth, float patchRadius);
abstract member SetVoxels : ModelIO.MDLMesh * int * single * single * single -> unit
override this.SetVoxels : ModelIO.MDLMesh * int * single * single * single -> unit

Parameters

mesh
MDLMesh
divisions
Int32
interiorNBWidth
Single
exteriorNBWidth
Single
patchRadius
Single
Attributes

Applies to