Struct classicube_sys::CustomModel
source ·
[−]#[repr(C)]pub struct CustomModel {Show 13 fields
pub model: Model,
pub name: [c_char; 65],
pub registered: cc_bool,
pub defined: cc_bool,
pub nameY: f32,
pub eyeY: f32,
pub collisionBounds: Vec3,
pub pickingBoundsAABB: AABB,
pub uScale: cc_uint16,
pub vScale: cc_uint16,
pub numParts: cc_uint8,
pub curPartIndex: cc_uint8,
pub parts: [CustomModelPart; 64],
}
Fields
model: Model
name: [c_char; 65]
registered: cc_bool
defined: cc_bool
nameY: f32
eyeY: f32
collisionBounds: Vec3
pickingBoundsAABB: AABB
uScale: cc_uint16
vScale: cc_uint16
numParts: cc_uint8
curPartIndex: cc_uint8
parts: [CustomModelPart; 64]
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CustomModel
impl !Send for CustomModel
impl !Sync for CustomModel
impl Unpin for CustomModel
impl UnwindSafe for CustomModel
Blanket Implementations
Mutably borrows from an owned value. Read more