Struct dae_parser::PhysicsSceneCommon
source · [−]Expand description
Specifies physics-scene information for the common profile that all COLLADA implementations must support.
Fields
gravity: Option<Box<[f32; 3]>>
A vector representation of the scene’s gravity force field. It is given as a denormalized direction vector of three floating-point values that indicate both the magnitude and direction of acceleration caused by the field.
time_step: Option<f32>
The integration time step, measured in seconds, of the physics scene. This value is engine-specific. If omitted, the physics engine’s default is used.
Implementations
Trait Implementations
sourceimpl Clone for PhysicsSceneCommon
impl Clone for PhysicsSceneCommon
sourcefn clone(&self) -> PhysicsSceneCommon
fn clone(&self) -> PhysicsSceneCommon
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PhysicsSceneCommon
impl Debug for PhysicsSceneCommon
sourceimpl Default for PhysicsSceneCommon
impl Default for PhysicsSceneCommon
sourcefn default() -> PhysicsSceneCommon
fn default() -> PhysicsSceneCommon
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for PhysicsSceneCommon
impl Send for PhysicsSceneCommon
impl Sync for PhysicsSceneCommon
impl Unpin for PhysicsSceneCommon
impl UnwindSafe for PhysicsSceneCommon
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more