#[repr(i32)]pub enum BillboardType {
LockWorldX = 0,
LockWorldY = 1,
LockWorldZ = 2,
LockBoneX = 3,
Disabled = 4,
LockBoneY = 5,
Full = 6,
}Expand description
BBSC.billboardType — which axes a billboarded bone may turn about.
Recovered from CBBSolver::ApplyBillboard (SC2 0x1027F1F30). The aim direction points away from the eye, so “aims at” below means the named axis lies along it and its negation points back at the camera.
Variants§
LockWorldX = 0
Turns about world X; local +Y aims along the direction
LockWorldY = 1
Turns about world Y; local +X aims (Y is the locked one)
LockWorldZ = 2
Turns about world Z; local +Y aims. The upright poster
LockBoneX = 3
Turns about the bone’s own world X; local +Z faces the camera
Disabled = 4
Parsed and instantiated, never applied
LockBoneY = 5
The bone’s own world Y becomes local Z; local +Y faces the camera
Full = 6
Free; local +Y aims, and the camera’s up axis sets the roll
Trait Implementations§
Source§impl Clone for BillboardType
impl Clone for BillboardType
Source§fn clone(&self) -> BillboardType
fn clone(&self) -> BillboardType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BillboardType
Source§impl Debug for BillboardType
impl Debug for BillboardType
impl Eq for BillboardType
Source§impl Hash for BillboardType
impl Hash for BillboardType
Source§impl PartialEq for BillboardType
impl PartialEq for BillboardType
impl StructuralPartialEq for BillboardType
Auto Trait Implementations§
impl Freeze for BillboardType
impl RefUnwindSafe for BillboardType
impl Send for BillboardType
impl Sync for BillboardType
impl Unpin for BillboardType
impl UnsafeUnpin for BillboardType
impl UnwindSafe for BillboardType
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