pub trait ICameraBoundingBoxMethods: ICameraBoundingBox {
// Provided methods
fn ctor(
self,
follow_pos: impl Into<Vector3>,
look_at_pos: impl Into<Vector3>,
screen_space_reprojection_ratio: impl Into<f32>,
) { ... }
fn append(self, pos: impl Into<Vector3>, size: impl Into<f32>) { ... }
fn create_box(self) { ... }
fn get_box_center(self) -> Vector3 { ... }
fn get_nearest_distance(self, fov: impl Into<f32>) -> f32 { ... }
fn pos_in_camera(self, pos: impl Into<Vector3>) -> Vector3 { ... }
}Provided Methods§
Sourcefn ctor(
self,
follow_pos: impl Into<Vector3>,
look_at_pos: impl Into<Vector3>,
screen_space_reprojection_ratio: impl Into<f32>,
)
fn ctor( self, follow_pos: impl Into<Vector3>, look_at_pos: impl Into<Vector3>, screen_space_reprojection_ratio: impl Into<f32>, )
.ctor(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, f32) overload
Sourcefn append(self, pos: impl Into<Vector3>, size: impl Into<f32>)
fn append(self, pos: impl Into<Vector3>, size: impl Into<f32>)
Append(crate::unity_engine::vector3::Vector3, f32) overload
Sourcefn create_box(self)
fn create_box(self)
CreateBox() overload
Sourcefn get_box_center(self) -> Vector3
fn get_box_center(self) -> Vector3
GetBoxCenter() overload
Sourcefn get_nearest_distance(self, fov: impl Into<f32>) -> f32
fn get_nearest_distance(self, fov: impl Into<f32>) -> f32
GetNearestDistance(f32) overload
Sourcefn pos_in_camera(self, pos: impl Into<Vector3>) -> Vector3
fn pos_in_camera(self, pos: impl Into<Vector3>) -> Vector3
PosInCamera(crate::unity_engine::vector3::Vector3) 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: ICameraBoundingBox> ICameraBoundingBoxMethods for __T
Available on crate feature
combat-cameraboundingbox only.