#[repr(C)]pub struct SsCrowdMember {
pub x: f32,
pub y: f32,
pub scale_x: f32,
pub scale_y: f32,
pub rotation: f32,
pub alpha: f32,
pub tint: u32,
}Expand description
One copy of a player in a crowd: where it stands, in ss_player_set_transform
terms and composed under that, and its alpha (0..1) and tint (0xRRGGBB),
each multiplied into the player’s own. {0, 0, 1, 1, 0, 1, 0xFFFFFF} stands
where the player does, unchanged.
Fields§
§x: f32§y: f32Measured downward, as ss_player_set_transform’s is.
scale_x: f32§scale_y: f32§rotation: f32Radians.
alpha: f32§tint: u32Trait Implementations§
Source§impl Clone for SsCrowdMember
impl Clone for SsCrowdMember
impl Copy for SsCrowdMember
Auto Trait Implementations§
impl Freeze for SsCrowdMember
impl RefUnwindSafe for SsCrowdMember
impl Send for SsCrowdMember
impl Sync for SsCrowdMember
impl Unpin for SsCrowdMember
impl UnsafeUnpin for SsCrowdMember
impl UnwindSafe for SsCrowdMember
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