#[repr(i8)]pub enum PathfindingType {
Other = -1,
LegacyLinkset = 0,
Avatar = 1,
Character = 2,
Walkable = 3,
StaticObstacle = 4,
MaterialVolume = 5,
ExclusionVolume = 6,
}Expand description
Pathfinding types
see https://wiki.secondlife.com/wiki/Category:LSL_Pathfinding_Types
Variants§
Other = -1
Attachments, Linden trees & grass
LegacyLinkset = 0
Movable obstacles, movable phantoms, physical, and volumedetect objects
Avatar = 1
Avatars
Character = 2
Pathfinding characters
Walkable = 3
Walkable objects
StaticObstacle = 4
Static obstacles
MaterialVolume = 5
Material volumes
ExclusionVolume = 6
Exclusion volumes
Implementations§
Source§impl PathfindingType
impl PathfindingType
Sourcepub const fn is_other(&self) -> bool
pub const fn is_other(&self) -> bool
Returns true if the enum is PathfindingType::Other otherwise false
Sourcepub const fn is_legacy_linkset(&self) -> bool
pub const fn is_legacy_linkset(&self) -> bool
Returns true if the enum is PathfindingType::LegacyLinkset otherwise false
Sourcepub const fn is_avatar(&self) -> bool
pub const fn is_avatar(&self) -> bool
Returns true if the enum is PathfindingType::Avatar otherwise false
Sourcepub const fn is_character(&self) -> bool
pub const fn is_character(&self) -> bool
Returns true if the enum is PathfindingType::Character otherwise false
Sourcepub const fn is_walkable(&self) -> bool
pub const fn is_walkable(&self) -> bool
Returns true if the enum is PathfindingType::Walkable otherwise false
Sourcepub const fn is_static_obstacle(&self) -> bool
pub const fn is_static_obstacle(&self) -> bool
Returns true if the enum is PathfindingType::StaticObstacle otherwise false
Sourcepub const fn is_material_volume(&self) -> bool
pub const fn is_material_volume(&self) -> bool
Returns true if the enum is PathfindingType::MaterialVolume otherwise false
Sourcepub const fn is_exclusion_volume(&self) -> bool
pub const fn is_exclusion_volume(&self) -> bool
Returns true if the enum is PathfindingType::ExclusionVolume otherwise false
Trait Implementations§
Source§impl Clone for PathfindingType
impl Clone for PathfindingType
Source§fn clone(&self) -> PathfindingType
fn clone(&self) -> PathfindingType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more