#[repr(C)]
pub struct Entity {
Show 29 fields pub VTABLE: *const EntityVTABLE, pub Position: Vec3, pub Pitch: f32, pub Yaw: f32, pub RotX: f32, pub RotY: f32, pub RotZ: f32, pub Velocity: Vec3, pub Model: *mut Model, pub ModelBlock: BlockID, pub ModelRestrictedScale: cc_bool, pub ShouldRender: cc_bool, pub ModelAABB: AABB, pub ModelScale: Vec3, pub Size: Vec3, pub _skinReqID: c_int, pub SkinType: cc_uint8, pub SkinFetchState: cc_uint8, pub NoShade: cc_bool, pub OnGround: cc_bool, pub TextureId: GfxResourceID, pub MobTextureId: GfxResourceID, pub uScale: f32, pub vScale: f32, pub Transform: Matrix, pub Anim: AnimatedComp, pub SkinRaw: [c_char; 64], pub NameRaw: [c_char; 64], pub NameTex: Texture,
}

Fields

VTABLE: *const EntityVTABLEPosition: Vec3Pitch: f32Yaw: f32RotX: f32RotY: f32RotZ: f32Velocity: Vec3Model: *mut ModelModelBlock: BlockIDModelRestrictedScale: cc_boolShouldRender: cc_boolModelAABB: AABBModelScale: Vec3Size: Vec3_skinReqID: c_intSkinType: cc_uint8SkinFetchState: cc_uint8NoShade: cc_boolOnGround: cc_boolTextureId: GfxResourceIDMobTextureId: GfxResourceIDuScale: f32vScale: f32Transform: MatrixAnim: AnimatedCompSkinRaw: [c_char; 64]NameRaw: [c_char; 64]NameTex: Texture

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.