Skip to main content

IBoxCaster_CastResultMethods

Trait IBoxCaster_CastResultMethods 

Source
pub trait IBoxCaster_CastResultMethods: IBoxCaster_CastResult {
    // Provided methods
    fn get_center_pos(self) -> Vector3 { ... }
    fn ctor(self, setting_xz: impl Into<f32>, setting_y: impl Into<f32>) { ... }
    fn cast(
        self,
        start_pos: impl Into<Vector3>,
        end_pos: impl Into<Vector3>,
        half_box_size: impl Into<Vector3>,
        mask: impl Into<i32>,
    ) { ... }
    fn is_intersect(self, pos: impl Into<FXZ>, radius: impl Into<f32>) -> bool { ... }
    fn is_divided_by(self, mask: impl Into<i32>) -> bool { ... }
    fn draw_gizmos(self) { ... }
    fn to_string(self) -> Il2CppString { ... }
}

Provided Methods§

Source

fn get_center_pos(self) -> Vector3

get_centerPos() overload

Source

fn ctor(self, setting_xz: impl Into<f32>, setting_y: impl Into<f32>)

.ctor(f32, f32) overload

Source

fn cast( self, start_pos: impl Into<Vector3>, end_pos: impl Into<Vector3>, half_box_size: impl Into<Vector3>, mask: impl Into<i32>, )

Cast(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, i32) overload

Source

fn is_intersect(self, pos: impl Into<FXZ>, radius: impl Into<f32>) -> bool

IsIntersect(crate::combat::fxz::FXZ, f32) overload

Source

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

IsDividedBy(i32) overload

Source

fn draw_gizmos(self)

DrawGizmos() 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_CastResult> IBoxCaster_CastResultMethods for __T

Available on crate feature combat-boxcaster only.