Show / Hide Table of Contents

Interface IVoxelOperator

Interface, that is used in ExecuteOperationFast<TVoxelOperator>(ref TVoxelOperator, MyStorageDataTypeFlags, ref Vector3I, ref Vector3I, Boolean)

Namespace: VRage.ModAPI
Assembly: VRage.Game.dll
Syntax
public interface IVoxelOperator

Properties

Flags

Mode of work

Declaration
VoxelOperatorFlags Flags { get; }
Property Value
Type Description
VoxelOperatorFlags

Methods

Op(ref Vector3I, MyStorageDataTypeEnum, ref Byte)

This function is called per each voxel

Declaration
void Op(ref Vector3I position, MyStorageDataTypeEnum dataType, ref byte inOutContent)
Parameters
Type Name Description
Vector3I position

Position of voxel

MyStorageDataTypeEnum dataType

Type of content

System.Byte inOutContent

Reference to data. You can change it, and it would apply changes

☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾