Struct roblox::instance::Humanoid [−][src]
pub struct Humanoid<'a> {}Show 62 fields
pub auto_jump_enabled: bool, pub auto_rotate: bool, pub automatic_scaling_enabled: bool, pub break_joints_on_death: bool, pub camera_offset: Vector3, pub display_distance_type: HumanoidDisplayDistanceType, pub display_name: &'a str, pub floor_material: Material, pub health: f32, pub health_display_distance: f32, pub health_display_type: HumanoidHealthDisplayType, pub hip_height: f32, pub jump: bool, pub jump_height: f32, pub jump_power: f32, pub max_health: f32, pub max_slope_angle: f32, pub move_direction: Vector3, pub name_display_distance: f32, pub name_occlusion: NameOcclusion, pub platform_stand: bool, pub requires_neck: bool, pub rig_type: HumanoidRigType, pub root_part: Option<InstanceRef>, pub seat_part: Option<InstanceRef>, pub sit: bool, pub target_point: Vector3, pub use_jump_power: bool, pub walk_speed: f32, pub walk_to_part: Option<InstanceRef>, pub walk_to_point: Vector3, pub archivable: bool, pub class_name: &'a str, pub name: &'a str, pub parent: Option<InstanceRef>, pub roblox_locked: bool, pub source_asset_id: i64, pub climbing: RBXScriptSignal<f32>, pub cluster_composition_finished: RBXScriptSignal<()>, pub died: RBXScriptSignal<()>, pub falling_down: RBXScriptSignal<bool>, pub free_falling: RBXScriptSignal<bool>, pub getting_up: RBXScriptSignal<bool>, pub health_changed: RBXScriptSignal<f32>, pub jumping: RBXScriptSignal<bool>, pub move_to_finished: RBXScriptSignal<bool>, pub platform_standing: RBXScriptSignal<bool>, pub ragdoll: RBXScriptSignal<bool>, pub running: RBXScriptSignal<f32>, pub seated: RBXScriptSignal<(bool, Option<InstanceRef>)>, pub state_changed: RBXScriptSignal<(HumanoidStateType, HumanoidStateType)>, pub state_enabled_changed: RBXScriptSignal<(HumanoidStateType, bool)>, pub strafing: RBXScriptSignal<bool>, pub swimming: RBXScriptSignal<f32>, pub touched: RBXScriptSignal<(Option<InstanceRef>, Option<InstanceRef>)>, pub ancestry_changed: RBXScriptSignal<(Option<InstanceRef>, Option<InstanceRef>)>, pub attribute_changed: RBXScriptSignal<&'a str>, pub changed: RBXScriptSignal<&'a str>, pub child_added: RBXScriptSignal<Option<InstanceRef>>, pub child_removed: RBXScriptSignal<Option<InstanceRef>>, pub descendant_added: RBXScriptSignal<Option<InstanceRef>>, pub descendant_removing: RBXScriptSignal<Option<InstanceRef>>,
Expand description
The Humanoid Instance Class
Fields
auto_jump_enabled: bool
auto_rotate: bool
automatic_scaling_enabled: bool
break_joints_on_death: bool
camera_offset: Vector3
display_distance_type: HumanoidDisplayDistanceType
display_name: &'a str
floor_material: Material
health: f32
health_display_distance: f32
health_display_type: HumanoidHealthDisplayType
hip_height: f32
jump: bool
jump_height: f32
jump_power: f32
max_health: f32
max_slope_angle: f32
move_direction: Vector3
name_display_distance: f32
name_occlusion: NameOcclusion
platform_stand: bool
requires_neck: bool
rig_type: HumanoidRigType
root_part: Option<InstanceRef>
seat_part: Option<InstanceRef>
sit: bool
target_point: Vector3
use_jump_power: bool
walk_speed: f32
walk_to_part: Option<InstanceRef>
walk_to_point: Vector3
archivable: bool
Inherited from Instance
class_name: &'a str
Inherited from Instance
name: &'a str
Inherited from Instance
parent: Option<InstanceRef>
Inherited from Instance
roblox_locked: bool
Inherited from Instance
source_asset_id: i64
Inherited from Instance
climbing: RBXScriptSignal<f32>
cluster_composition_finished: RBXScriptSignal<()>
died: RBXScriptSignal<()>
falling_down: RBXScriptSignal<bool>
free_falling: RBXScriptSignal<bool>
getting_up: RBXScriptSignal<bool>
health_changed: RBXScriptSignal<f32>
jumping: RBXScriptSignal<bool>
move_to_finished: RBXScriptSignal<bool>
platform_standing: RBXScriptSignal<bool>
ragdoll: RBXScriptSignal<bool>
running: RBXScriptSignal<f32>
seated: RBXScriptSignal<(bool, Option<InstanceRef>)>
state_changed: RBXScriptSignal<(HumanoidStateType, HumanoidStateType)>
state_enabled_changed: RBXScriptSignal<(HumanoidStateType, bool)>
strafing: RBXScriptSignal<bool>
swimming: RBXScriptSignal<f32>
touched: RBXScriptSignal<(Option<InstanceRef>, Option<InstanceRef>)>
ancestry_changed: RBXScriptSignal<(Option<InstanceRef>, Option<InstanceRef>)>
Inherited from Instance
attribute_changed: RBXScriptSignal<&'a str>
Inherited from Instance
changed: RBXScriptSignal<&'a str>
Inherited from Instance
child_added: RBXScriptSignal<Option<InstanceRef>>
Inherited from Instance
child_removed: RBXScriptSignal<Option<InstanceRef>>
Inherited from Instance
descendant_added: RBXScriptSignal<Option<InstanceRef>>
Inherited from Instance
descendant_removing: RBXScriptSignal<Option<InstanceRef>>
Inherited from Instance
Implementations
Creates a new Humanoid object.
Equivalent to Instance.new(“Humanoid”) in Luau.
pub fn get_accessory_handle_scale(
&self,
instance: Option<InstanceRef>,
part_type: BodyPartR15
) -> Vector3
pub fn replace_body_part_r15(
&self,
body_part: BodyPartR15,
part: Option<InstanceRef>
) -> bool
pub fn apply_description(
&self,
humanoid_description: Option<InstanceRef>,
asset_type_verification: AssetTypeVerification
)
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
pub fn find_first_child_which_is_a(
&self,
class_name: &'a str,
recursive: bool
) -> Option<InstanceRef>
pub fn find_first_child_which_is_a(
&self,
class_name: &'a str,
recursive: bool
) -> Option<InstanceRef>
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Humanoid<'a>
impl<'a> UnwindSafe for Humanoid<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more