Skip to main content

IBoxCasterMethods

Trait IBoxCasterMethods 

Source
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§

Source

fn get_half_box_size(self) -> Vector3

get_HalfBoxSize() overload

Source

fn set_half_box_size(self, value: impl Into<Vector3>)

set_HalfBoxSize(crate::unity_engine::vector3::Vector3) overload

Source

fn get_try_count(self) -> i32

get_TryCount() overload

Source

fn set_try_count(self, value: impl Into<i32>)

set_TryCount(i32) overload

Source

fn get_center2_d(self) -> FXZ

get_Center2D() overload

Source

fn get_center3_d(self) -> Vector3

get_Center3D() overload

Source

fn get_debug_color(self) -> Color

get_DebugColor() overload

Source

fn set_debug_color(self, value: impl Into<Color>)

set_DebugColor(crate::unity_engine::color::Color) overload

Source

fn get_right(self) -> FXZ

get_Right() overload

Source

fn ctor(self)

.ctor() overload

Source

fn ctor_2(self, pos0: impl Into<Vector3>)

.ctor(crate::unity_engine::vector3::Vector3) overload

Source

fn ctor_3(self, pos0: impl Into<Vector3>, pos1: impl Into<Vector3>)

.ctor(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3) overload

Source

fn make_params(self)

MakeParams() overload

Source

fn cast(self)

Cast() overload

Source

fn cast_one(self, mask: impl Into<i32>) -> (bool, RaycastHit, RaycastHit)

CastOne(i32, *mutcrate::unity_engine::raycasthit::RaycastHit, *mutcrate::unity_engine::raycasthit::RaycastHit) overload

Source

fn ray_cast( self, mask: impl Into<i32>, max_length: impl Into<f32>, ) -> (bool, RaycastHit)

RayCast(*mutcrate::unity_engine::raycasthit::RaycastHit, i32, f32) overload

Source

fn will_collide( self, rotation: impl Into<Quaternion>, mask: impl Into<i32>, ) -> bool

WillCollide(crate::unity_engine::quaternion::Quaternion, i32) overload

Source

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

Source

fn draw_gizmos(self)

DrawGizmos() overload

Source

fn is_divided_by(self, mask: impl Into<i32>) -> bool

IsDividedBy(i32) overload

Source

fn pullup(self)

Pullup() overload

Source

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§

Source§

impl<__T: IBoxCaster> IBoxCasterMethods for __T

Available on crate feature combat-boxcaster only.