Struct rafx_visibility::VisibilityObject
source · pub struct VisibilityObject {
pub handle: VisibilityObjectHandle,
pub id: u64,
pub zone: Option<ZoneHandle>,
pub cull_model: Option<ModelHandle>,
pub transform: Option<Transform>,
pub previous_frame_transform: Option<Transform>,
}
Fields§
§handle: VisibilityObjectHandle
§id: u64
§zone: Option<ZoneHandle>
§cull_model: Option<ModelHandle>
§transform: Option<Transform>
§previous_frame_transform: Option<Transform>
Implementations§
source§impl VisibilityObject
impl VisibilityObject
pub fn new(id: u64, handle: VisibilityObjectHandle) -> Self
pub fn default_bounding_sphere(transform: Transform) -> BoundingSphere
Trait Implementations§
source§impl Clone for VisibilityObject
impl Clone for VisibilityObject
source§fn clone(&self) -> VisibilityObject
fn clone(&self) -> VisibilityObject
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for VisibilityObject
impl Default for VisibilityObject
source§fn default() -> VisibilityObject
fn default() -> VisibilityObject
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for VisibilityObject
impl Send for VisibilityObject
impl Sync for VisibilityObject
impl Unpin for VisibilityObject
impl UnwindSafe for VisibilityObject
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