Re-exports§
pub use components::*;pub use plugins::*;pub use resources::*;
Modules§
Structs§
- Active
Camera Query - convienience
SystemParamset foractive_camera_maybe - Camera
Target - Headlight
Toggle - True/false for whether the headlight should be on or off
- PanTo
Element - Type
Info - convenience struct for associating type info and type name.
- User
Camera Display - This resource keeps track of the region that the user camera display is occupying in the window.
Enums§
Constants§
- DEFAULT_
CAMERA_ EV100 - Camera exposure, adjusted for indoor lighting, in ev100 units
- GENERAL_
RENDER_ LAYER - RenderLayers are used to inform cameras which entities they should render. The General render layer is for things that should be visible to all cameras.
- HOVERED_
OUTLINE_ LAYER - The Hovered Outline layer is where the outline of the currently hovered entity is shown.
- MAX_FOV
- MAX_
PITCH - MAX_
SCALE - MAX_
SELECTION_ DIST - MIN_FOV
- Camera limits
- MIN_
SCALE - MIN_
SELECTION_ DIST - MODEL_
PREVIEW_ LAYER - The Model Preview layer is used by model previews to spawn and render models in the engine without having them being visible to general cameras
- PHYSICAL_
RENDER_ LAYER - The Physical render layer is for things that should be visible to any camera that needs to capture the physical world (e.g. the physical camera sensor simulator) but should not be rendered by the user’s view. This allows us to toggle off complex PBR lights for the user’s view (which can severely slow down performance) while keeping them for camera sensors.
- SELECTED_
OUTLINE_ LAYER - The Selected Outline layer is where the outline of the currently selected entity is shown.
- VISUAL_
CUE_ RENDER_ LAYER - The Visual Cue layer is for things that should be shown to the user but should never appear in a physical camera.
- XRAY_
RENDER_ LAYER - The X-Ray layer is used to show visual cues that need to be rendered above anything that would be obstructing them.
Functions§
- active_
camera_ maybe - convienience method to get active camera and output a warning if it does’t exist.
- main_
view_ render_ layers