Toast Engine
Loading...
Searching...
No Matches
toast::VoxelMesh Member List

This is the complete list of members for toast::VoxelMesh, including all inherited members.

addClipPlane(glm::vec4 plane)toast::VoxelPiece
addDependsOn(Node &other) (defined in toast::Node)toast::Node
addInspectorMessage(const NodeMessage &message) (defined in toast::Node)toast::Nodeinlineprotected
addScript(const assets::Handle< assets::Script > &script) noexcepttoast::Nodeinline
box() const noexcept -> Box< Node >toast::Node
buildCount() const noexcept -> uint32_ttoast::VoxelPieceinline
call(std::string_view name, Args &&... args) -> Rtoast::Nodeinline
carveBox(glm::vec3 min, glm::vec3 max) (defined in toast::VoxelPiece)toast::VoxelPiece
carveSphere(glm::vec3 center, float radius) (defined in toast::VoxelPiece)toast::VoxelPiece
children() const noexcept -> const std::vector< Box< Node > > &toast::Nodeinline
childrenOfType(const NodeInfo *type) const -> std::vector< Box< Node > > (defined in toast::Node)toast::Node
childrenSnapshot() const -> std::vector< Box< Node > > (defined in toast::Node)toast::Node
clearClipPlanes() (defined in toast::VoxelPiece)toast::VoxelPiece
clipPlanes() const noexcept -> const std::vector< glm::vec4 > & (defined in toast::VoxelPiece)toast::VoxelPieceinline
collectGrid() -> booltoast::VoxelPiece
create(std::string_view type="toast::Node") noexcept -> Box< Node >toast::Nodeinline
destroy() (defined in toast::VoxelPiece)toast::VoxelPieceprotected
draw(std::string_view operation, Kernel &&kernel) (defined in toast::VoxelPiece)toast::VoxelPieceprotected
drawing() const noexcept -> voxel::Volume *toast::VoxelPieceprotected
drawntoast::VoxelPiece
enabled() const noexcept -> booltoast::Node
enabled(bool value) noexcepttoast::Node
fillBox(glm::vec3 min, glm::vec3 max, int id, voxel::WriteMode mode=voxel::WriteMode::replace, int match_id=0) (defined in toast::VoxelPiece)toast::VoxelPiece
fillCapsule(glm::vec3 a, glm::vec3 b, float radius, int id, voxel::WriteMode mode=voxel::WriteMode::replace, int match_id=0) (defined in toast::VoxelPiece)toast::VoxelPiece
fillCylinder(glm::vec3 a, glm::vec3 b, float radius, int id, voxel::WriteMode mode=voxel::WriteMode::replace, int match_id=0) (defined in toast::VoxelPiece)toast::VoxelPiece
fillEllipsoid(glm::vec3 min, glm::vec3 max, int id, voxel::WriteMode mode=voxel::WriteMode::replace, int match_id=0)toast::VoxelPiece
fillRoundBox(glm::vec3 min, glm::vec3 max, float radius, int id, voxel::WriteMode mode=voxel::WriteMode::replace, int match_id=0)toast::VoxelPiece
fillSphere(glm::vec3 center, float radius, int id, voxel::WriteMode mode=voxel::WriteMode::replace, int match_id=0) (defined in toast::VoxelPiece)toast::VoxelPiece
find(std::string_view query) -> Box< Node >toast::Node
find(const UID &uid) -> Box< Node >toast::Node
finishGrid(voxel::Volume &)toast::VoxelPieceinlineprotectedvirtual
forward() const -> glm::vec3toast::Node3D
get(std::string_view name) const -> Ttoast::Nodeinline
getClipPlanes() const -> std::vector< glm::vec4 >toast::VoxelPiece
getModel() const -> const assets::Handle< assets::VoxelModel > & (defined in toast::VoxelMesh)toast::VoxelMesh
getPalette() const -> const assets::Handle< assets::VoxelPalette > &toast::VoxelMesh
getShape() -> Box< Node >toast::VoxelPiece
getShapeBounds() -> std::vector< glm::vec3 >toast::VoxelPiece
getShapeScript() const -> const assets::Handle< assets::Script > &toast::VoxelPiece
getSize() -> glm::vec3toast::VoxelPiece
getTransform() const noexcept -> const glm::mat4 & (defined in toast::Node3D)toast::Node3D
getVoxel(glm::vec3 pos) -> inttoast::VoxelPiece
getWorldTransform() const noexcept -> const glm::mat4 & (defined in toast::Node3D)toast::Node3D
grid() -> const voxel::Volume *toast::VoxelPiece
gridBuilding() const noexcept -> booltoast::VoxelPieceinline
GridRef typedef (defined in toast::VoxelPiece)toast::VoxelPiece
gridRef() -> GridReftoast::VoxelPiece
gridStale() const noexcept -> booltoast::VoxelPieceinline
hasCallable(std::string_view name) const noexcept -> booltoast::Node
hasTickFunction(TickFunctionList mask) const noexcept -> booltoast::Node
info() const -> const NodeInfo *toast::Node
init() (defined in toast::VoxelPiece)toast::VoxelPieceprotected
inputRevision() const noexcept -> uint32_ttoast::VoxelPieceinline
interactsWith(Node &other)toast::Node
isInstanceRoot() const noexcept -> booltoast::Node
isMisaligned() const noexcept -> booltoast::VoxelPieceinline
isRecursivePrefab() const noexcept -> bool (defined in toast::Node)toast::Nodeinline
kind() const noexcept -> PieceKind (defined in toast::VoxelPiece)toast::VoxelPieceinlinevirtual
linecast(glm::vec3 from, glm::vec3 to, int max_hits=-1, bool ignore_self=true, const std::vector< int > &layers=std::vector< int > {}) const -> std::vector< physics::RayHit >toast::Node3D
listener() noexcept -> event::Listener &toast::Node
lookAt(glm::vec3 target, glm::vec3 up={0.0f, 0.0f, 1.0f})toast::Node3D
lookAtZ(glm::vec3 target)toast::Node3D
luaAffinity() const noexcept -> std::optional< size_t > (defined in toast::Node)toast::Nodeinlineprotectedvirtual
m_clip_planestoast::VoxelPieceprotected
m_model (defined in toast::VoxelMesh)toast::VoxelMeshprotected
m_owner (defined in toast::Node)toast::Nodeprotected
m_palette (defined in toast::VoxelMesh)toast::VoxelMeshprotected
m_shape_scripttoast::VoxelPieceprotected
markGridDirty() noexcepttoast::VoxelPieceprotected
markLandingDirty() noexcepttoast::VoxelPieceinlineprotected
matchId() const noexcept -> uint8_t (defined in toast::VoxelPiece)toast::VoxelPieceinlinevirtual
name() const noexcept -> std::string_viewtoast::Node
name(std::string_view name) noexcepttoast::Node
Node() (defined in toast::Node)toast::Node
nominalSize() -> glm::ivec3toast::VoxelPieceinline
on_begin (defined in toast::Node)toast::Node
on_disable (defined in toast::Node)toast::Node
on_enable (defined in toast::Node)toast::Node
on_end (defined in toast::Node)toast::Node
onEditorTransformChanged() (defined in toast::Node3D)toast::Node3Dinlinevirtual
onReflectedFieldChanged(std::string_view field_name) override (defined in toast::VoxelPiece)toast::VoxelPieceprotectedvirtual
onScriptsReloaded() override (defined in toast::VoxelPiece)toast::VoxelPieceprotectedvirtual
onScriptsReloading() overridetoast::VoxelPieceprotectedvirtual
onScriptVarChanged(std::string_view path) overridetoast::VoxelPieceprotectedvirtual
owner() const noexcept -> INodeOwner *toast::Nodeinline
paintBox(glm::vec3 min, glm::vec3 max, int id) (defined in toast::VoxelPiece)toast::VoxelPiece
parent() noexcept -> Box< Node >toast::Node
participatesIn(NodeOwnerParticipation use) const noexcept -> bool (defined in toast::Node)toast::Nodeinline
pieceSize() -> glm::ivec3 overridetoast::VoxelMeshprotectedvirtual
position (defined in toast::Node3D)toast::Node3Dmutable
prepareGrid() -> std::unique_ptr< voxel::Volume > overridetoast::VoxelMeshprotectedvirtual
raycast(glm::vec3 dir, glm::vec3 offset=glm::vec3(0.0f), float max_distance=-1.0f, bool ignore_self=true, const std::vector< int > &layers=std::vector< int > {}) const -> std::optional< physics::RayHit >toast::Node3D
raymulticast(glm::vec3 dir, glm::vec3 offset=glm::vec3(0.0f), float max_distance=-1.0f, int max_hits=-1, bool ignore_self=true, const std::vector< int > &layers=std::vector< int > {}) const -> std::vector< physics::RayHit >toast::Node3D
readyGrid() -> GridReftoast::VoxelPiece
redraw()toast::VoxelPiece
refreshTransformParent() (defined in toast::Node3D)toast::Node3D
releaseGrid()toast::VoxelPiece
reloadScripts() noexcepttoast::Node
removeDependsOn(Node &other) (defined in toast::Node)toast::Node
removeInspectorMessage(const NodeMessage &message) (defined in toast::Node)toast::Nodeinlineprotected
removeVoxel(glm::vec3 pos) (defined in toast::VoxelPiece)toast::VoxelPiece
requestGrid()toast::VoxelPiece
resizable() const noexcept -> booltoast::VoxelPieceinlinevirtual
resolvedModel() const -> const assets::VoxelModel *toast::VoxelMesh
rid() const noexcept -> std::uintptr_ttoast::Node
root() const noexcept -> Box< Node >toast::Node
rotation (defined in toast::Node3D)toast::Node3Dmutable
scale (defined in toast::Node3D)toast::Node3Dmutable
scriptRuntime() noexcept -> scripting::ScriptRuntime * (defined in toast::Node)toast::Nodeinline
scripts() const noexcept -> const std::vector< assets::Handle< assets::Script > > &toast::Nodeinline
scriptVm(TickFunctionList func) const noexcept -> std::optional< size_t >toast::Node
scriptVmAny() const noexcept -> std::optional< size_t >toast::Node
search(std::string_view query) -> std::vector< Box< Node > >toast::Node
searchType(const NodeInfo *type) const -> std::vector< Box< Node > > (defined in toast::Node)toast::Node
set(std::string_view name, const T &value)toast::Nodeinline
setClipPlanes(std::vector< glm::vec4 > planes) (defined in toast::VoxelPiece)toast::VoxelPiece
setMisaligned(bool misaligned)toast::VoxelPiece
setModel(assets::Handle< assets::VoxelModel > model)toast::VoxelMesh
setPalette(assets::Handle< assets::VoxelPalette > palette) (defined in toast::VoxelMesh)toast::VoxelMesh
setScripts(std::vector< assets::Handle< assets::Script > > scripts) noexcepttoast::Nodeinline
setShapeScript(assets::Handle< assets::Script > script)toast::VoxelPiece
setVoxel(glm::vec3 pos, int id) (defined in toast::VoxelPiece)toast::VoxelPiece
sourcePaletteUid() const -> uint64_t overridetoast::VoxelMeshvirtual
sourcePrefab() const noexcept -> const assets::Handle< assets::Prefab > &toast::Node
spawn(UID uid) noexcept -> Box< Node >toast::Nodeinline
spawn(std::string_view uri) noexcept -> Box< Node >toast::Nodeinline
stamp(const assets::Handle< assets::VoxelModel > &asset, glm::vec3 pos, glm::quat rotation=glm::quat(1.0f, 0.0f, 0.0f, 0.0f), voxel::WriteMode mode=voxel::WriteMode::replace, int match_id=0)toast::VoxelPiece
state() const noexcept -> NodeStatetoast::Nodeinline
syncTransform() const (defined in toast::Node3D)toast::Node3D
syncWorldTransform() const (defined in toast::Node3D)toast::Node3D
tile(const assets::Handle< assets::VoxelModel > &asset, int fit=0, glm::vec3 anchor=glm::vec3(0.0f), glm::vec3 offset=glm::vec3(0.0f), glm::vec3 mirror=glm::vec3(0.0f), voxel::WriteMode mode=voxel::WriteMode::replace, int match_id=0)toast::VoxelPiece
type() const noexcept -> NodeTypetoast::Nodeinline
uid() const noexcept -> const UID &toast::Node
up() const -> glm::vec3toast::Node3D
updateInspectorMessages() override (defined in toast::VoxelPiece)toast::VoxelPieceprotectedvirtual
waitForGrid()toast::VoxelPiece
world_forwardtoast::Node3Dinlinestatic
world_position (defined in toast::Node3D)toast::Node3Dmutable
world_righttoast::Node3Dinlinestatic
world_rotation (defined in toast::Node3D)toast::Node3Dmutable
world_scale (defined in toast::Node3D)toast::Node3Dmutable
world_up (defined in toast::Node3D)toast::Node3Dinlinestatic
writeMode() const noexcept -> voxel::WriteMode (defined in toast::VoxelPiece)toast::VoxelPieceinlinevirtual
~Node() (defined in toast::Node)toast::Nodevirtual