Skip to main content

Crate rmf_site_camera

Crate rmf_site_camera 

Source

Re-exports§

pub use components::*;
pub use plugins::*;
pub use resources::*;

Modules§

components
plugins
resources

Structs§

ActiveCameraQuery
convienience SystemParam set for active_camera_maybe
CameraTarget
HeadlightToggle
True/false for whether the headlight should be on or off
PanToElement
TypeInfo
convenience struct for associating type info and type name.
UserCameraDisplay
This resource keeps track of the region that the user camera display is occupying in the window.

Enums§

CameraCommandType

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

Type Aliases§

CameraControlsBlocker