Struct rubullet::VisualShapeOptions [−][src]
pub struct VisualShapeOptions { pub frame_offset: Isometry3<f64>, pub rgba_colors: [f64; 4], pub specular_colors: [f64; 3], // some fields omitted }
Expand description
VisualShape options are for the create_visual_shape function to specify additional options like the color.
Fields
frame_offset: Isometry3<f64>
offset of the shape with respect to the link frame
rgba_colors: [f64; 4]
color components for red, green, blue and alpha, each in range [0,1]
specular_colors: [f64; 3]
specular reflection color, red, green, blue components in range [0,1]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for VisualShapeOptions
impl Send for VisualShapeOptions
impl Sync for VisualShapeOptions
impl Unpin for VisualShapeOptions
impl UnwindSafe for VisualShapeOptions
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
pub fn is_in_subset(&self) -> bool
pub fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).
pub fn to_subset_unchecked(&self) -> SS
pub fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
pub fn from_subset(element: &SS) -> SP
pub fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.
pub fn vzip(self) -> V