Crate voxelize Copy item path Source protocols Protocol buffers generated by prost.rs
. AABB Axis-aligned Bounding Box. AABBBuilder AStar AddrComp An endpoint to a client’s connection. BaseTerrainStage Biome Block Serializable struct representing block data. BlockBuilder BlockConditionalPart BlockDynamicPattern BlockFace BlockFaces BlockSimpleRule BlockUtils A set of utility functions for block operations. Bookkeeping BrainComp BroadcastSystem ChatMessageProtocol Chunk ChunkGeneratingSystem ChunkInterests ChunkOptions ChunkProtocol Protocol buffer compatible chunk data structure. ChunkRequestsComp A list of chunks that the entity is requesting to generate. ChunkRequestsSystem ChunkSavingSystem ChunkSendingSystem ChunkUpdatingSystem ChunkUtils A set of utility functions for chunk operations. Chunks A manager for all chunks in the Voxelize world. CleanupSystem Client A client of the server. ClientFlag A flag for clients in the world. ClientMessage Send message to specific world CollisionsComp Connect New chat session is created CornerData CurrentChunkComp CurrentChunkSystem DataSavingSystem DebugStage DiagonalFacesBuilder DirectionComp The direction this entity is looking at. Disconnect Session is disconnected ETypeComp EncodedMessage EncodedMessageQueue EntitiesMetaSystem EntitiesSaver Takes all the metadata components, and saves them into the
world saving directory by their ID’s. EntitiesSendingSystem EntityFlag A flag for entities (animals) in the world. EntityObserveSystem EntityProtocol Protocol buffer compatible entity data structure. EntityTreeSystem Event EventBuilder EventProtocol Events EventsSystem FlatlandStage A preset chunk stage to set a flat land. GeometryProtocol Protocol buffer compatible geometry data structure. IDComp Info InteractorComp What makes an entity physical in Voxelize. JsonComp KdTree World-wide K-dimensional tree for fast positional querying LSystem LSystemBuilder LightNode Node of a light propagation queue. LightUtils A set of utility functions for light operations. Lights A set of utility functions to simulate global illumination in a Voxelize world. MeshProtocol Protocol buffer compatible mesh data structure. Mesher A meshing helper to mesh chunks. Message MessageBuilder Builder for a protocol buffer message. MetadataComp A list of chunks that the entity is requesting to generate. MethodProtocol NameComp Ndarray N-dimensional array stored in a 1D array. Neighbors NoiseOptions Multi-fractal noise options. NoiseOptionsBuilder Idiomatic builder pattern for NoiseOptions
. OnJoinRequest PathComp PathFindingSystem PathMetadataSystem PathNode PeerProtocol Protocol buffer compatible peer data structure. PeerUpdate PeersMetaSystem PeersSendingSystem Physics PhysicsSystem Pipeline A pipeline is strictly for holding the stages necessary to build the chunks. PositionComp The direction this entity is positioned. Registry A collection of blocks to use in a Voxelize server. One server has one registry and one
registry only. Once a registry is added to a server, it cannot be changed. Resources RigidBody A physical body in the Voxelize world. RigidBodyBuilder Builder pattern for RigidBody. RigidBodyComp What makes an entity physical in Voxelize. Search World-wide K-dimensional tree for fast positional querying SearchSystem SeededNoise Seeded simplex noise for Voxelize. Server A websocket server for Voxelize, holds all worlds data, and runs as a background
system service. ServerBuilder Builder for a voxelize server. SixFacesBuilder Space A data structure used in Voxelize to access voxel data of multiple chunks at
the same time. Centered with one chunk, a Space allows developers to know what’s
around a chunk. SpaceBuilder A data structure to build a space. SpaceData What kind of data does this space have/need? SpaceOptions Parameters of constructing a Space data structure. SplineMap Spline graph of Voxelize. Used to map noise values to custom values. Stats A general statistical manager of Voxelize. StatsJson TargetComp By adding this component, an entity has the ability to scan around
and look at the closest entity. TargetMetadataSystem Terrain A seeded layered terrain for Voxelize world generation. TerrainLayer A layer to the terrain. Consists of two spline graphs: height bias and height offset graphs.
Height bias is how much terrain should be compressed as y-coordinate increases, and height offset is
by how much should the entire terrain shift up and down. Time Tree TreeBuilder Trees UV Serializable struct representing a UV coordinate. UpdateProtocol Protobuf buffer compatible update data structure. UpdateStatsSystem Vec2 Vector2 implementation for Voxelize. Vec3 Vector3 implementation for Voxelize. VoxelComp The direction this entity is positioned. VoxelPacker Voxelize WalkTowardsSystem World A voxelize world. WorldConfig World configuration, storing information of how a world is constructed. WorldConfigBuilder Builder for a world configuration. WsSession BlockRotation Block rotation enumeration. There are 6 possible rotations: (px, nx, py, ny, pz, nz)
. Default rotation is PY. BlockRule BlockRuleLogic ChunkStatus ClientFilter A filter for clients, used for specific broadcasting. LightColor Enum of light colors. TargetType YRotatableSegments NX_ROTATION NY_ROTATION NZ_ROTATION PX_ROTATION PY_ROTATION Base class to extract voxel data from a single u32 PZ_ROTATION ROTATION_MASK SIX_FACES_NX SIX_FACES_NY SIX_FACES_NZ SIX_FACES_PX SIX_FACES_PY SIX_FACES_PZ STAGE_MASK Y_ROTATION_MASK Y_ROT_SEGMENTS ChunkStage A stage in the pipeline where a chunk gets populated. VoxelAccess approx_equals Test if two numbers are equal within a given tolerance, which by default is 1e-5
. between Whether or not is a number within a range. decode_message Decode protocol buffers into a message struct. default_client_parser The default client metadata parser, parses PositionComp and DirectionComp, and updates RigidBodyComp. encode_message Encode message into protocol buffers. ndarray Create a new n-dimensional array. round Round a float to a certain number of decimal places. set_position sweep trace Clients EType EntityOperation GetVoxel MessageQueue MessageType Transports VoxelUpdate Denoting a change in block in the world.