Click or drag to resize
IMyVoxelMapsPaintInShape Method

[This is preliminary documentation and is subject to change.]

Will paint given material with given shape

Namespace: VRage.Game.ModAPI
Assembly: VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax
C#
void PaintInShape(
	IMyVoxelBase voxelMap,
	IMyVoxelShape voxelShape,
	byte materialIdx
)

Parameters

voxelMap
Type: VRage.ModAPIIMyVoxelBase

[Missing <param name="voxelMap"/> documentation for "M:VRage.Game.ModAPI.IMyVoxelMaps.PaintInShape(VRage.ModAPI.IMyVoxelBase,VRage.Game.ModAPI.IMyVoxelShape,System.Byte)"]

voxelShape
Type: VRage.Game.ModAPIIMyVoxelShape

[Missing <param name="voxelShape"/> documentation for "M:VRage.Game.ModAPI.IMyVoxelMaps.PaintInShape(VRage.ModAPI.IMyVoxelBase,VRage.Game.ModAPI.IMyVoxelShape,System.Byte)"]

materialIdx
Type: SystemByte

[Missing <param name="materialIdx"/> documentation for "M:VRage.Game.ModAPI.IMyVoxelMaps.PaintInShape(VRage.ModAPI.IMyVoxelBase,VRage.Game.ModAPI.IMyVoxelShape,System.Byte)"]

See Also