Struct roblox::instance::MeshPart [−][src]
pub struct MeshPart<'a> {}Show 67 fields
pub double_sided: bool, pub has_joint_offset: bool, pub has_skinned_mesh: bool, pub joint_offset: Vector3, pub mesh_id: &'a str, pub mesh_size: Vector3, pub render_fidelity: RenderFidelity, pub texture_id: &'a str, pub collision_fidelity: CollisionFidelity, pub anchored: bool, pub assembly_angular_velocity: Vector3, pub assembly_center_of_mass: Vector3, pub assembly_linear_velocity: Vector3, pub assembly_mass: f32, pub assembly_root_part: Option<InstanceRef>, pub back_surface: SurfaceType, pub bottom_surface: SurfaceType, pub brick_color: BrickColor, pub c_frame: CFrame, pub can_collide: bool, pub can_query: bool, pub can_touch: bool, pub cast_shadow: bool, pub center_of_mass: Vector3, pub collision_group_id: i32, pub color: Color3, pub custom_physical_properties: PhysicalProperties, pub front_surface: SurfaceType, pub left_surface: SurfaceType, pub local_transparency_modifier: f32, pub locked: bool, pub mass: f32, pub massless: bool, pub material: Material, pub material_variant: Option<InstanceRef>, pub orientation: Vector3, pub pivot_offset: CFrame, pub position: Vector3, pub receive_age: f32, pub reflectance: f32, pub resize_increment: i32, pub resizeable_faces: Faces, pub right_surface: SurfaceType, pub root_priority: i32, pub rotation: Vector3, pub size: Vector3, pub top_surface: SurfaceType, pub transparency: f32, pub origin_orientation: Vector3, pub origin_position: Vector3, pub pivot_offset_orientation: Vector3, pub pivot_offset_position: 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 touch_ended: RBXScriptSignal<Option<InstanceRef>>, pub touched: RBXScriptSignal<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 MeshPart Instance Class
Fields
double_sided: bool
has_joint_offset: bool
has_skinned_mesh: bool
joint_offset: Vector3
mesh_id: &'a str
mesh_size: Vector3
render_fidelity: RenderFidelity
texture_id: &'a str
collision_fidelity: CollisionFidelity
Inherited from TriangleMeshPart
anchored: bool
Inherited from BasePart
assembly_angular_velocity: Vector3
Inherited from BasePart
assembly_center_of_mass: Vector3
Inherited from BasePart
assembly_linear_velocity: Vector3
Inherited from BasePart
assembly_mass: f32
Inherited from BasePart
assembly_root_part: Option<InstanceRef>
Inherited from BasePart
back_surface: SurfaceType
Inherited from BasePart
bottom_surface: SurfaceType
Inherited from BasePart
brick_color: BrickColor
Inherited from BasePart
c_frame: CFrame
Inherited from BasePart
can_collide: bool
Inherited from BasePart
can_query: bool
Inherited from BasePart
can_touch: bool
Inherited from BasePart
cast_shadow: bool
Inherited from BasePart
center_of_mass: Vector3
Inherited from BasePart
collision_group_id: i32
Inherited from BasePart
color: Color3
Inherited from BasePart
custom_physical_properties: PhysicalProperties
Inherited from BasePart
front_surface: SurfaceType
Inherited from BasePart
left_surface: SurfaceType
Inherited from BasePart
local_transparency_modifier: f32
Inherited from BasePart
locked: bool
Inherited from BasePart
mass: f32
Inherited from BasePart
massless: bool
Inherited from BasePart
material: Material
Inherited from BasePart
material_variant: Option<InstanceRef>
Inherited from BasePart
orientation: Vector3
Inherited from BasePart
pivot_offset: CFrame
Inherited from BasePart
position: Vector3
Inherited from BasePart
receive_age: f32
Inherited from BasePart
reflectance: f32
Inherited from BasePart
resize_increment: i32
Inherited from BasePart
resizeable_faces: Faces
Inherited from BasePart
right_surface: SurfaceType
Inherited from BasePart
root_priority: i32
Inherited from BasePart
rotation: Vector3
Inherited from BasePart
size: Vector3
Inherited from BasePart
top_surface: SurfaceType
Inherited from BasePart
transparency: f32
Inherited from BasePart
origin_orientation: Vector3
Inherited from PVInstance
origin_position: Vector3
Inherited from PVInstance
pivot_offset_orientation: Vector3
Inherited from PVInstance
pivot_offset_position: Vector3
Inherited from PVInstance
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
touch_ended: RBXScriptSignal<Option<InstanceRef>>
Inherited from BasePart
touched: RBXScriptSignal<Option<InstanceRef>>
Inherited from BasePart
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 MeshPart object.
Equivalent to Instance.new(“MeshPart”) in Luau.
Inherited from BasePart
Inherited from BasePart
Inherited from BasePart
Inherited from BasePart
Inherited from BasePart
Inherited from BasePart
Inherited from BasePart
Inherited from BasePart
Inherited from BasePart
Inherited from BasePart
Inherited from BasePart
Inherited from BasePart
Inherited from BasePart
Inherited from BasePart
Inherited from BasePart
Inherited from BasePart
pub fn subtract_async(
&self,
parts: Array<Instance<'a>>,
collisionfidelity: CollisionFidelity,
render_fidelity: RenderFidelity
) -> Option<InstanceRef>
pub fn subtract_async(
&self,
parts: Array<Instance<'a>>,
collisionfidelity: CollisionFidelity,
render_fidelity: RenderFidelity
) -> Option<InstanceRef>
Inherited from BasePart
pub fn union_async(
&self,
parts: Array<Instance<'a>>,
collisionfidelity: CollisionFidelity,
render_fidelity: RenderFidelity
) -> Option<InstanceRef>
pub fn union_async(
&self,
parts: Array<Instance<'a>>,
collisionfidelity: CollisionFidelity,
render_fidelity: RenderFidelity
) -> Option<InstanceRef>
Inherited from BasePart
Inherited from PVInstance
Inherited from PVInstance
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 MeshPart<'a>
impl<'a> UnwindSafe for MeshPart<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more