pub trait IBoxCasterMethods: IBoxCaster {
Show 22 methods
// Provided methods
fn get_half_box_size(self) -> Vector3 { ... }
fn set_half_box_size(self, value: impl Into<Vector3>) { ... }
fn get_try_count(self) -> i32 { ... }
fn set_try_count(self, value: impl Into<i32>) { ... }
fn get_center2_d(self) -> FXZ { ... }
fn get_center3_d(self) -> Vector3 { ... }
fn get_debug_color(self) -> Color { ... }
fn set_debug_color(self, value: impl Into<Color>) { ... }
fn get_right(self) -> FXZ { ... }
fn ctor(self) { ... }
fn ctor_2(self, pos0: impl Into<Vector3>) { ... }
fn ctor_3(self, pos0: impl Into<Vector3>, pos1: impl Into<Vector3>) { ... }
fn make_params(self) { ... }
fn cast(self) { ... }
fn cast_one(self, mask: impl Into<i32>) -> (bool, RaycastHit, RaycastHit) { ... }
fn ray_cast(
self,
mask: impl Into<i32>,
max_length: impl Into<f32>,
) -> (bool, RaycastHit) { ... }
fn will_collide(
self,
rotation: impl Into<Quaternion>,
mask: impl Into<i32>,
) -> bool { ... }
fn debug_cast_trajectory(
self,
world_pos: impl Into<Vector3>,
direction: impl Into<Vector3>,
forward: impl Into<Quaternion>,
distance: impl Into<f32>,
) { ... }
fn draw_gizmos(self) { ... }
fn is_divided_by(self, mask: impl Into<i32>) -> bool { ... }
fn pullup(self) { ... }
fn to_string(self) -> Il2CppString { ... }
}Provided Methods§
Sourcefn get_half_box_size(self) -> Vector3
fn get_half_box_size(self) -> Vector3
get_HalfBoxSize() overload
Sourcefn set_half_box_size(self, value: impl Into<Vector3>)
fn set_half_box_size(self, value: impl Into<Vector3>)
set_HalfBoxSize(crate::unity_engine::vector3::Vector3) overload
Sourcefn get_try_count(self) -> i32
fn get_try_count(self) -> i32
get_TryCount() overload
Sourcefn set_try_count(self, value: impl Into<i32>)
fn set_try_count(self, value: impl Into<i32>)
set_TryCount(i32) overload
Sourcefn get_center2_d(self) -> FXZ
fn get_center2_d(self) -> FXZ
get_Center2D() overload
Sourcefn get_center3_d(self) -> Vector3
fn get_center3_d(self) -> Vector3
get_Center3D() overload
Sourcefn get_debug_color(self) -> Color
fn get_debug_color(self) -> Color
get_DebugColor() overload
Sourcefn set_debug_color(self, value: impl Into<Color>)
fn set_debug_color(self, value: impl Into<Color>)
set_DebugColor(crate::unity_engine::color::Color) overload
Sourcefn ctor_2(self, pos0: impl Into<Vector3>)
fn ctor_2(self, pos0: impl Into<Vector3>)
.ctor(crate::unity_engine::vector3::Vector3) overload
Sourcefn ctor_3(self, pos0: impl Into<Vector3>, pos1: impl Into<Vector3>)
fn ctor_3(self, pos0: impl Into<Vector3>, pos1: impl Into<Vector3>)
.ctor(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3) overload
Sourcefn make_params(self)
fn make_params(self)
MakeParams() overload
Sourcefn cast_one(self, mask: impl Into<i32>) -> (bool, RaycastHit, RaycastHit)
fn cast_one(self, mask: impl Into<i32>) -> (bool, RaycastHit, RaycastHit)
CastOne(i32, *mutcrate::unity_engine::raycasthit::RaycastHit, *mutcrate::unity_engine::raycasthit::RaycastHit) overload
Sourcefn ray_cast(
self,
mask: impl Into<i32>,
max_length: impl Into<f32>,
) -> (bool, RaycastHit)
fn ray_cast( self, mask: impl Into<i32>, max_length: impl Into<f32>, ) -> (bool, RaycastHit)
RayCast(*mutcrate::unity_engine::raycasthit::RaycastHit, i32, f32) overload
Sourcefn will_collide(
self,
rotation: impl Into<Quaternion>,
mask: impl Into<i32>,
) -> bool
fn will_collide( self, rotation: impl Into<Quaternion>, mask: impl Into<i32>, ) -> bool
WillCollide(crate::unity_engine::quaternion::Quaternion, i32) overload
Sourcefn debug_cast_trajectory(
self,
world_pos: impl Into<Vector3>,
direction: impl Into<Vector3>,
forward: impl Into<Quaternion>,
distance: impl Into<f32>,
)
fn debug_cast_trajectory( self, world_pos: impl Into<Vector3>, direction: impl Into<Vector3>, forward: impl Into<Quaternion>, distance: impl Into<f32>, )
DebugCastTrajectory(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, crate::unity_engine::quaternion::Quaternion, f32) overload
Sourcefn draw_gizmos(self)
fn draw_gizmos(self)
DrawGizmos() overload
Sourcefn is_divided_by(self, mask: impl Into<i32>) -> bool
fn is_divided_by(self, mask: impl Into<i32>) -> bool
IsDividedBy(i32) overload
Sourcefn to_string(self) -> Il2CppString
fn to_string(self) -> Il2CppString
ToString() overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: IBoxCaster> IBoxCasterMethods for __T
combat-boxcaster only.