Skip to main content

IGrassManagerWithoutTerrainMethods

Trait IGrassManagerWithoutTerrainMethods 

Source
pub trait IGrassManagerWithoutTerrainMethods: IGrassManagerWithoutTerrain {
    // Provided methods
    fn get_has_terrain(self) -> bool { ... }
    fn find_grass_mesh_parent_transform(
        self,
        parent: impl Into<Transform>,
        mesh_index: impl Into<i32>,
    ) -> Transform { ... }
    fn calc_reference_transform_num(self) -> i32 { ... }
    fn get_field_size_offset(self) -> (bool, Vector3, Vector3) { ... }
    fn find_ground_texture(self, mesh_index: impl Into<i32>) -> Texture2D { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_has_terrain(self) -> bool

get_HasTerrain() overload

Source

fn find_grass_mesh_parent_transform( self, parent: impl Into<Transform>, mesh_index: impl Into<i32>, ) -> Transform

FindGrassMeshParentTransform(crate::unity_engine::transform::Transform, i32) overload

Source

fn calc_reference_transform_num(self) -> i32

CalcReferenceTransformNum() overload

Source

fn get_field_size_offset(self) -> (bool, Vector3, Vector3)

GetFieldSizeOffset(*mutcrate::unity_engine::vector3::Vector3, *mutcrate::unity_engine::vector3::Vector3) overload

Source

fn find_ground_texture(self, mesh_index: impl Into<i32>) -> Texture2D

FindGroundTexture(i32) overload

Source

fn ctor(self)

.ctor() 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: IGrassManagerWithoutTerrain> IGrassManagerWithoutTerrainMethods for __T

Available on crate feature app-grassmanagerwithoutterrain only.