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

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

aabb_color (defined in toast::VoxelNode)toast::VoxelNodeprotected
aabb_filltoast::VoxelNodeprotected
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
allow_sleep (defined in toast::VoxelNode)toast::VoxelNodeprotected
angular_damping (defined in toast::VoxelNode)toast::VoxelNodeprotected
angular_velocity (defined in toast::VoxelNode)toast::VoxelNodeprotected
applyPhysicsTransform(const glm::vec3 &position, const glm::quat &rotation) (defined in toast::VoxelNode)toast::VoxelNodeprotected
assignBody(physics::BodyID body) noexcept (defined in toast::VoxelNode)toast::VoxelNodeinlineprotected
assignShape(physics::ShapeID shape) noexcept (defined in toast::VoxelNode)toast::VoxelNodeinlineprotected
auto_mass_centertoast::VoxelNodeprotected
awake (defined in toast::VoxelNode)toast::VoxelNodeprotected
begin() (defined in toast::VoxelNode)toast::VoxelNodeprotected
bodyID() const noexcept -> physics::BodyID (defined in toast::VoxelNode)toast::VoxelNodeinlineprotected
box() const noexcept -> Box< Node >toast::Node
broke_aparttoast::VoxelNode
buildsAsync() -> booltoast::VoxelNodeinlineprotectedvirtual
buildShape()toast::VoxelNodeinlineprotectedvirtual
call(std::string_view name, Args &&... args) -> Rtoast::Nodeinline
carveBox(glm::vec3 min, glm::vec3 max)toast::VoxelNode
carveCylinder(glm::vec3 a, glm::vec3 b, float radius)toast::VoxelNode
carveLine(glm::vec3 a, glm::vec3 b, float radius)toast::VoxelNode
carveSphere(glm::vec3 center, float radius)toast::VoxelNode
center_of_mass (defined in toast::VoxelNode)toast::VoxelNodeprotected
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
clearRegions()toast::VoxelNode
commitEdit(const voxel::EditResult &result, std::string_view operation)toast::VoxelNodeprotected
constant_force (defined in toast::VoxelNode)toast::VoxelNodeprotected
constant_torque (defined in toast::VoxelNode)toast::VoxelNodeprotected
contact_begintoast::VoxelNode
contact_endtoast::VoxelNode
copy(glm::vec3 min, glm::vec3 max) -> inttoast::VoxelNode
create(std::string_view type="toast::Node") noexcept -> Box< Node >toast::Nodeinline
damagedtoast::VoxelNode
destroy() (defined in toast::VoxelNode)toast::VoxelNodeprotected
drag_scale (defined in toast::VoxelNode)toast::VoxelNodeprotected
drawDebug() (defined in toast::VoxelNode)toast::VoxelNodeprotectedvirtual
earlyTick() (defined in toast::VoxelNode)toast::VoxelNodeprotected
edit(const voxel::EditBounds &local_bounds, bool grows, std::string_view operation, Kernel &&kernel)toast::VoxelNodeprotected
editorTick() (defined in toast::VoxelNode)toast::VoxelNodeprotected
editVoxel()toast::VoxelNodeinline
emptiedtoast::VoxelNode
enabled() const noexcept -> booltoast::Node
enabled(bool value) noexcepttoast::Node
end() (defined in toast::VoxelNode)toast::VoxelNodeprotected
ensureContains(const voxel::EditBounds &bounds) -> voxel::Volume *toast::VoxelNodeprotected
excluded (defined in toast::VoxelNode)toast::VoxelNodeprotected
excludeLayer(int layer, bool value=true) (defined in toast::VoxelNode)toast::VoxelNode
extrudeFace(glm::vec3 pos, glm::vec3 normal, int distance)toast::VoxelNode
fillBox(glm::vec3 min, glm::vec3 max, int id, voxel::WriteMode mode=voxel::WriteMode::replace, int match_id=0)toast::VoxelNode
fillCylinder(glm::vec3 a, glm::vec3 b, float radius, int id, voxel::WriteMode mode=voxel::WriteMode::replace, int match_id=0)toast::VoxelNode
fillLine(glm::vec3 a, glm::vec3 b, float radius, int id, voxel::WriteMode mode=voxel::WriteMode::replace, int match_id=0)toast::VoxelNode
fillSphere(glm::vec3 center, float radius, int id, voxel::WriteMode mode=voxel::WriteMode::replace, int match_id=0)toast::VoxelNode
find(std::string_view query) -> Box< Node >toast::Node
find(const UID &uid) -> Box< Node >toast::Node
finishShape() (defined in toast::VoxelNode)toast::VoxelNodeprotected
forward() const -> glm::vec3toast::Node3D
get(std::string_view name) const -> Ttoast::Nodeinline
getBounds() -> std::vector< glm::vec3 >toast::VoxelNode
getModel() const -> const assets::Handle< assets::VoxelModel > &toast::VoxelNode
getModel() -> assets::Handle< assets::VoxelModel > &toast::VoxelNode
getPalette() const -> const assets::Handle< assets::VoxelPalette > &toast::VoxelNode
getSize() -> glm::vec3toast::VoxelNode
getTransform() const noexcept -> const glm::mat4 & (defined in toast::Node3D)toast::Node3D
getVoxel(glm::vec3 pos) -> inttoast::VoxelNode
getVoxelCount() -> inttoast::VoxelNode
getWorldTransform() const noexcept -> const glm::mat4 & (defined in toast::Node3D)toast::Node3D
gravity_scale (defined in toast::VoxelNode)toast::VoxelNodeprotected
handleContactBegin(const physics::BroadPhasePair &pair) (defined in toast::VoxelNode)toast::VoxelNodeprotected
handleContactEnd(const physics::BroadPhasePair &pair) (defined in toast::VoxelNode)toast::VoxelNodeprotected
hasCallable(std::string_view name) const noexcept -> booltoast::Node
hasTickFunction(TickFunctionList mask) const noexcept -> booltoast::Node
included (defined in toast::VoxelNode)toast::VoxelNodeprotected
includeLayer(int layer, bool value=true) (defined in toast::VoxelNode)toast::VoxelNode
inertia (defined in toast::VoxelNode)toast::VoxelNodeprotected
info() const -> const NodeInfo *toast::Node
init() (defined in toast::VoxelNode)toast::VoxelNodeprotected
interactsWith(Node &other)toast::Node
isInstanceRoot() const noexcept -> booltoast::Node
isRecursivePrefab() const noexcept -> bool (defined in toast::Node)toast::Nodeinline
latticePlacement() const -> std::optional< voxel::LatticePlacement > (defined in toast::VoxelNode)toast::VoxelNode
linear_damping (defined in toast::VoxelNode)toast::VoxelNodeprotected
linear_velocity (defined in toast::VoxelNode)toast::VoxelNodeprotected
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
localBoundingSphere() const -> glm::vec4 (defined in toast::VoxelNode)toast::VoxelNode
lock_pos_x (defined in toast::VoxelNode)toast::VoxelNodeprotected
lock_pos_y (defined in toast::VoxelNode)toast::VoxelNodeprotected
lock_pos_z (defined in toast::VoxelNode)toast::VoxelNodeprotected
lock_rot_x (defined in toast::VoxelNode)toast::VoxelNodeprotected
lock_rot_y (defined in toast::VoxelNode)toast::VoxelNodeprotected
lock_rot_z (defined in toast::VoxelNode)toast::VoxelNodeprotected
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_active_contacts (defined in toast::VoxelNode)toast::VoxelNodeprotected
m_body (defined in toast::VoxelNode)toast::VoxelNodeprotected
m_building_shape (defined in toast::VoxelNode)toast::VoxelNodeprotected
m_debug_visible (defined in toast::VoxelNode)toast::VoxelNodeprotected
m_edit_shape_pending (defined in toast::VoxelNode)toast::VoxelNodeprotected
m_instanced_from (defined in toast::VoxelNode)toast::VoxelNodeprotected
m_model (defined in toast::VoxelNode)toast::VoxelNodeprotected
m_model_palette (defined in toast::VoxelNode)toast::VoxelNodeprotected
m_owner (defined in toast::Node)toast::Nodeprotected
m_palette (defined in toast::VoxelNode)toast::VoxelNodeprotected
m_pending_events (defined in toast::VoxelNode)toast::VoxelNodeprotected
m_rebuild_requested (defined in toast::VoxelNode)toast::VoxelNodeprotected
m_regions (defined in toast::VoxelNode)toast::VoxelNodeprotected
m_registered_proxy (defined in toast::VoxelNode)toast::VoxelNodeprotected
m_registration_requested (defined in toast::VoxelNode)toast::VoxelNodeprotected
m_reported_wrong_model (defined in toast::VoxelNode)toast::VoxelNodeprotected
m_reported_wrong_palette (defined in toast::VoxelNode)toast::VoxelNodeprotected
m_retired_volumes (defined in toast::VoxelNode)toast::VoxelNodeprotected
m_revision (defined in toast::VoxelNode)toast::VoxelNodeprotected
m_shape (defined in toast::VoxelNode)toast::VoxelNodeprotected
m_shape_key (defined in toast::VoxelNode)toast::VoxelNodeprotected
m_split_pending (defined in toast::VoxelNode)toast::VoxelNodeprotected
m_volume (defined in toast::VoxelNode)toast::VoxelNodeprotected
m_volume_stale (defined in toast::VoxelNode)toast::VoxelNodeprotected
m_voxel_origin (defined in toast::VoxelNode)toast::VoxelNodeprotected
mass (defined in toast::VoxelNode)toast::VoxelNodeprotected
name() const noexcept -> std::string_viewtoast::Node
name(std::string_view name) noexcepttoast::Node
Node() (defined in toast::Node)toast::Node
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
onDisable() (defined in toast::VoxelNode)toast::VoxelNodeprotected
onEditorTransformChanged() override (defined in toast::VoxelNode)toast::VoxelNodeprotectedvirtual
onEnable() (defined in toast::VoxelNode)toast::VoxelNodeprotected
onReflectedFieldChanged(std::string_view field_name) override (defined in toast::VoxelNode)toast::VoxelNodeprotectedvirtual
onScriptsReloaded() override (defined in toast::VoxelNode)toast::VoxelNodeprotectedvirtual
onScriptsReloading()toast::Nodeinlineprotectedvirtual
onScriptVarChanged(std::string_view path)toast::Nodeinlineprotectedvirtual
owner() const noexcept -> INodeOwner *toast::Nodeinline
paintBox(glm::vec3 min, glm::vec3 max, int id)toast::VoxelNode
paintSphere(glm::vec3 center, float radius, int id)toast::VoxelNode
paletteUid() const -> uint64_ttoast::VoxelNode
parent() noexcept -> Box< Node >toast::Node
participatesIn(NodeOwnerParticipation use) const noexcept -> bool (defined in toast::Node)toast::Nodeinline
paste(int region, glm::vec3 pos, voxel::WriteMode mode=voxel::WriteMode::replace, int match_id=0)toast::VoxelNode
physics::Simulator (defined in toast::VoxelNode)toast::VoxelNodefriend
physicsBound() const noexcept -> bool (defined in toast::VoxelNode)toast::VoxelNodeinlineprotected
position (defined in toast::Node3D)toast::Node3Dmutable
postPhysics() (defined in toast::VoxelNode)toast::VoxelNodeprotected
publishPhysicsState(bool is_awake, const glm::vec3 &current_linear_velocity, const glm::vec3 &current_angular_velocity) (defined in toast::VoxelNode)toast::VoxelNodeprotected
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
rebuilt_shapetoast::VoxelNode
recordDamage(uint32_t count, glm::vec3 index_sum) (defined in toast::VoxelNode)toast::VoxelNodeprotected
refreshTransformParent() (defined in toast::Node3D)toast::Node3D
refreshVolume() (defined in toast::VoxelNode)toast::VoxelNodeprotected
releaseVolume() (defined in toast::VoxelNode)toast::VoxelNodeprotected
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)toast::VoxelNode
render_onlytoast::VoxelNodeprotected
renderOnly() const noexcept -> bool (defined in toast::VoxelNode)toast::VoxelNodeinline
replaceId(int from, int to)toast::VoxelNode
replaceVolume(const voxel::EditBounds &bounds) -> voxel::Volume *toast::VoxelNodeprotected
requestRebuild() noexcepttoast::VoxelNodeinlineprotected
resolvedMaterialLibrary() -> const voxel::MaterialLibrary *toast::VoxelNode
resolvedModel() const -> const assets::VoxelModel *toast::VoxelNode
resolvedPalette() -> const voxel::Palette *toast::VoxelNode
retireVolume() (defined in toast::VoxelNode)toast::VoxelNodeprotected
revision() const noexcept -> uint32_t (defined in toast::VoxelNode)toast::VoxelNodeinline
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
setLayers(int included_layers, int excluded_layers) (defined in toast::VoxelNode)toast::VoxelNode
setModel(assets::Handle< assets::VoxelModel > model)toast::VoxelNode
setPalette(assets::Handle< assets::VoxelPalette > palette)toast::VoxelNode
setScripts(std::vector< assets::Handle< assets::Script > > scripts) noexcepttoast::Nodeinline
setVoxel(glm::vec3 pos, int id)toast::VoxelNode
shapeID() const noexcept -> physics::ShapeID (defined in toast::VoxelNode)toast::VoxelNodeinlineprotected
shapeKey() -> uint64_ttoast::VoxelNodeinlineprotectedvirtual
show_aabb (defined in toast::VoxelNode)toast::VoxelNodeprotected
simulation_typetoast::VoxelNodeprotected
sleep()toast::VoxelNode
slice(glm::vec3 point, glm::vec3 normal, int side)toast::VoxelNode
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::VoxelNode
state() const noexcept -> NodeStatetoast::Nodeinline
syncTransform() const (defined in toast::Node3D)toast::Node3D
syncWorldTransform() const (defined in toast::Node3D)toast::Node3D
tickAsyncBuild() (defined in toast::VoxelNode)toast::VoxelNodeinlineprotectedvirtual
toIndex(glm::ivec3 local) const noexcept -> glm::ivec3 (defined in toast::VoxelNode)toast::VoxelNodeinlineprotected
toIndex(glm::vec3 local) const noexcept -> glm::vec3 (defined in toast::VoxelNode)toast::VoxelNodeinlineprotected
toIndex(const voxel::EditBounds &local) const noexcept -> voxel::EditBounds (defined in toast::VoxelNode)toast::VoxelNodeinlineprotected
type() const noexcept -> NodeTypetoast::Nodeinline
uid() const noexcept -> const UID &toast::Node
up() const -> glm::vec3toast::Node3D
updateInspectorMessages() override (defined in toast::VoxelNode)toast::VoxelNodeprotectedvirtual
volume() -> voxel::Volume * (defined in toast::VoxelNode)toast::VoxelNode
volumeLocalTransform() const -> glm::mat4 (defined in toast::VoxelNode)toast::VoxelNode
VoxelNode()=defaulttoast::VoxelNode
VoxelNode(assets::Handle< assets::VoxelModel > model)toast::VoxelNodeinline
voxelOrigin() const noexcept -> glm::ivec3 (defined in toast::VoxelNode)toast::VoxelNodeinline
voxelToWorld(glm::vec3 pos) -> glm::vec3toast::VoxelNode
wake()toast::VoxelNode
went_to_sleeptoast::VoxelNode
woke_uptoast::VoxelNode
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
worldToVoxel(glm::vec3 pos) -> glm::vec3toast::VoxelNode
~Node() (defined in toast::Node)toast::Nodevirtual