Click or drag to resize
IMyVoxelShapeGetIntersectionVolume Method

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

Gets volume of intersection of shape and voxel

Namespace: VRage.Game.ModAPI
Assembly: VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax
C#
float GetIntersectionVolume(
	ref Vector3D voxelPosition
)

Parameters

voxelPosition
Type: Vector3D
Left bottom point of voxel

Return Value

Type: Single
Normalized volume of intersection
See Also