voxelman ~master (2018-10-12T19:51:42Z)
Dub
Repo
BlockInfo
voxelman
world
block
blockinfo
Undocumented in source.
struct
BlockInfo {
string
name
;
MeshHandler
meshHandler
;
ubvec3
color
;
bool
isVisible
;
Solidity
solidity
;
BlockShape
shape
;
ShapeMetaHandler
shapeMetaHandler
;
RotationHandler
rotationHandler
;
bool
shapeDependsOnMeta
;
bool
meshDependOnMeta
;
ubyte
[
2
]
uv
;
size_t
id
;
}
Members
Variables
color
ubvec3
color
;
Undocumented in source.
id
size_t
id
;
Undocumented in source.
isVisible
bool
isVisible
;
Undocumented in source.
meshDependOnMeta
bool
meshDependOnMeta
;
Undocumented in source.
meshHandler
MeshHandler
meshHandler
;
Undocumented in source.
name
string
name
;
Undocumented in source.
rotationHandler
RotationHandler
rotationHandler
;
Undocumented in source.
shape
BlockShape
shape
;
Undocumented in source.
shapeDependsOnMeta
bool
shapeDependsOnMeta
;
Undocumented in source.
shapeMetaHandler
ShapeMetaHandler
shapeMetaHandler
;
Undocumented in source.
solidity
Solidity
solidity
;
Undocumented in source.
uv
ubyte
[
2
]
uv
;
Undocumented in source.
Meta
Source
See Implementation
voxelman
world
block
blockinfo
aliases
BlockUpdateHandler
MeshHandler
RotationHandler
ShapeMetaHandler
SideSolidityHandler
enums
Solidity
functions
chunkAndBlockAt27
chunkAndBlockAt6
isMoreSolidThan
makeNullMesh
regBaseBlocks
semitransparentSideSolidity
setSideTable
slopeRotationHandler
solidSideSolidity
transparentSideSolidity
structs
BlockInfo
BlockInfoSetter
BlockInfoTable
BlockMeshingData
ChunkAndBlockAt
SeparatedBlockInfoTable
variables
entityBlock
position_in_target_chunk
target_chunk