Skip to main content

VoxelData

Client Server

Component that holds voxel data. The actual data itself is in the data property. The data will only render if the object also has a VoxelRender component.

Metamethods

boolean __eq(VoxelData a, VoxelData b)

Methods

nil Mirror(Vec3 worldPos, Vec3 worldNormal)

Vec3 center, Vec3 size GetAABounds()

Vec3 center, Quat rot, Vec3 size GetBounds()

boolean success, string usedPath SetPath(string path)

Properties

boolean active

boolean activeInHierarchy

Object object

Object obj

boolean isDestroyed

string type

boolean Active

boolean ActiveInHierarchy

Object Object

Object Obj

boolean IsDestroyed

string Type

Vec3 Size

Vec3 size

string path

string originalPath

VoxelDataResource data

The voxel data resource that this voxel data is using

boolean save

boolean editable