pub struct TCMaterial {
pub tex: i32,
pub col: [f64; 4],
}
Expand description
material(s) of ODE, tcms: HashMap<dGeomID, TCMaterial>
Fields§
§tex: i32
texture id
col: [f64; 4]
color (high priority tcm.col > obg.col)
Implementations§
Source§impl TCMaterial
materials
impl TCMaterial
materials
Trait Implementations§
Source§impl Clone for TCMaterial
impl Clone for TCMaterial
Source§fn clone(&self) -> TCMaterial
fn clone(&self) -> TCMaterial
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for TCMaterial
impl RefUnwindSafe for TCMaterial
impl Send for TCMaterial
impl Sync for TCMaterial
impl Unpin for TCMaterial
impl UnwindSafe for TCMaterial
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