Expand description
Utilities module provides set of commonly used algorithms.
Modules§
- astar
- Contains classic A* (A-star) path finding algorithms.
- behavior
- Everything related to AI behavior and behavior trees.
- lightmap
- Module to generate lightmaps for surfaces.
- navmesh
- Contains all structures and methods to create and manage navigation meshes (navmesh).
- raw_
mesh - Raw mesh is a procedural mesh builder, all you can do with it is to insert vertices one-by-one and it will automatically build faces by skipping duplicated vertices. Main usage of it - optimize “triangle soup” into mesh so adjacent faces will have shared edges. Raw mesh itself does not have any methods, it is just a final result of RawMeshBuilder.
- uvgen
- UV generation utils.
Functions§
- into_
any_ arc - Helper function to convert
Option<Arc<T>>
toOption<Arc<dyn Any>>
. - translate_
button - Translates window mouse button into fyrox-ui mouse button.
- translate_
cursor_ icon - Translates cursor icon from fyrox-ui library to glutin format.
- translate_
event - Translates window event to fyrox-ui event.
- translate_
key_ from_ ui - Translates
fyrox-ui
’s key code towinit
’s. - translate_
key_ to_ ui - Translates
winit
’s key code tofyrox-ui
’s key code. - translate_
keyboard_ modifiers - Translates keyboard modifiers to fyrox-ui keyboard modifiers.
- translate_
state - Translates library button state into fyrox-ui button state.
- vec3_
f16_ from_ f32 - Converts
Vector3<f32>
->Vector3<f16>
. - vec3_
f32_ from_ f16 - Converts
Vector3<f16>
->Vector3<f32>
. - virtual_
key_ code_ name - Maps key code to its name. Can be useful if you making adjustable key bindings in your game and you need quickly map key code to its name.