Class Voxel3DGrid

java.lang.Object
com.gaia3d.basic.geometry.voxel.Voxel3DGrid

public class Voxel3DGrid extends Object
  • Constructor Details

    • Voxel3DGrid

      public Voxel3DGrid(int gridsCountX, int gridsCountY, int gridsCountZ, GaiaBoundingBox boundingBox)
  • Method Details

    • getVoxel

      public Voxel getVoxel(int x, int y, int z)
    • getVoxelAlphaFloat

      public float getVoxelAlphaFloat(int x, int y, int z)
    • setVoxelsByAlphaXY

      public void setVoxelsByAlphaXY(int gridZ, byte[] bufferArray)
    • setVoxelsByAlphaXZ

      public void setVoxelsByAlphaXZ(int gridY, byte[] bufferArray)
    • setVoxelsByAlphaYZ

      public void setVoxelsByAlphaYZ(int gridX, byte[] bufferArray)
    • getVoxelPosition

      public org.joml.Vector3d getVoxelPosition(int x, int y, int z)
    • expand

      public void expand(int expandQuantity)