LeviLamina
Loading...
Searching...
No Matches
VoxelShapes::VoxelShape Class Reference

Public Member Functions

VoxelShape & operator= (VoxelShape const &)
MCAPI VoxelShape (::VoxelShapes::VoxelShape &&)
MCAPI VoxelShape (::VoxelShapes::VoxelShape const &)
MCAPI VoxelShape (::VoxelShapes::Cells cells, ::Bedrock::small_vector< float, 12 > xCoords, ::Bedrock::small_vector< float, 12 > yCoords, ::Bedrock::small_vector< float, 12 > zCoords)
MCAPI::VoxelShapes::VoxelShape computeFaceShape (uchar face) const
MCAPI::VoxelShapes::VoxelShape & operator= (::VoxelShapes::VoxelShape &&)
MCAPI bool operator== (::VoxelShapes::VoxelShape const &rhs) const
MCAPI::VoxelShapes::SerializableVoxelShape toSerializable () const
MCAPI void * $ctor (::VoxelShapes::VoxelShape &&)
MCAPI void * $ctor (::VoxelShapes::VoxelShape const &)
MCAPI void * $ctor (::VoxelShapes::Cells cells, ::Bedrock::small_vector< float, 12 > xCoords, ::Bedrock::small_vector< float, 12 > yCoords, ::Bedrock::small_vector< float, 12 > zCoords)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI ::VoxelShapes::VoxelShape createCuboidShape (float xMin, float yMin, float zMin, float xMax, float yMax, float zMax)
static MCAPI ::VoxelShapes::VoxelShape createEmptyShape ()
static MCAPI ::VoxelShapes::VoxelShape createShapeFromAabbs (::gsl::span<::AABB const > boxes)
static MCAPI ::VoxelShapes::VoxelShape fromSerializable (::VoxelShapes::SerializableVoxelShape const &serializable)
static MCAPI ::VoxelShapes::VoxelShape joinUnoptimized (::VoxelShapes::VoxelShape const &first, ::VoxelShapes::VoxelShape const &second, ::VoxelShapes::JoinOperation operation)
static MCAPI ::VoxelShapes::VoxelShape transform (::VoxelShapes::VoxelShape shape, ::Vec3 const &scale, ::Vec3 const &scalePivot, ::Vec3 const &rotation, ::Vec3 const &rotationPivot, ::Vec3 const &translation)
static MCAPI ::VoxelShapes::VoxelShape const & emptyShape ()
static MCAPI ::VoxelShapes::VoxelShape const & unitCubeShape ()

Public Attributes

::ll::TypedStorage< 8, 80, ::VoxelShapes::Cells > mCells
::ll::TypedStorage< 8, 64, ::Bedrock::small_vector< float, 12 > > mXCoords
::ll::TypedStorage< 8, 64, ::Bedrock::small_vector< float, 12 > > mYCoords
::ll::TypedStorage< 8, 64, ::Bedrock::small_vector< float, 12 > > mZCoords

The documentation for this class was generated from the following file: