pub struct CameraObject {
pub params: ParamMap,
pub colors: HashMap<String, Color>,
pub textures: HashMap<String, Texture>,
}Expand description
A CameraObject structure contains data for a camera object.
Fields§
§params: ParamMapA map of parameters associated with this camera.
The OpenGEX specification defined three parameters: “fov”, “near” and “far”. Any other parameters are application-specific.
colors: HashMap<String, Color>A map of colors associated with this camera. The OpenGEX specification does not define any kinds of colors.
textures: HashMap<String, Texture>A map of textures associated with this camera. The OpenGEX specification does not define any kinds of textures.
Auto Trait Implementations§
impl Freeze for CameraObject
impl RefUnwindSafe for CameraObject
impl Send for CameraObject
impl Sync for CameraObject
impl Unpin for CameraObject
impl UnwindSafe for CameraObject
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more