Skip to main content

IDressUtilityMethods

Trait IDressUtilityMethods 

Source
pub trait IDressUtilityMethods: IDressUtility {
    // Provided methods
    fn get_cache(self) -> HierarchyCache { ... }
    fn get_item(self, name: impl Into<Il2CppString>) -> Transform { ... }
    fn ctor(self, body_root: impl Into<Transform>) { ... }
    fn transplant_dress_only_bones(self, dress: impl Into<Transform>) { ... }
    fn transplant_skinned_mesh(
        self,
        dress_go: impl Into<GameObject>,
        dress_meshes: impl Into<Array<SkinnedMeshRenderer>>,
        parent_name: impl Into<Il2CppString>,
    ) { ... }
    fn transplant_mesh(
        self,
        acc_go: impl Into<GameObject>,
        parent_name: impl Into<Il2CppString>,
    ) { ... }
}

Provided Methods§

Source

fn get_cache(self) -> HierarchyCache

get_Cache() overload

Source

fn get_item(self, name: impl Into<Il2CppString>) -> Transform

get_Item(::unity::Il2CppString) overload

Source

fn ctor(self, body_root: impl Into<Transform>)

.ctor(crate::unity_engine::transform::Transform) overload

Source

fn transplant_dress_only_bones(self, dress: impl Into<Transform>)

TransplantDressOnlyBones(crate::unity_engine::transform::Transform) overload

Source

fn transplant_skinned_mesh( self, dress_go: impl Into<GameObject>, dress_meshes: impl Into<Array<SkinnedMeshRenderer>>, parent_name: impl Into<Il2CppString>, )

TransplantSkinnedMesh(crate::unity_engine::gameobject::GameObject, ::unity::Array<crate::unity_engine::skinnedmeshrenderer::SkinnedMeshRenderer>, ::unity::Il2CppString) overload

Source

fn transplant_mesh( self, acc_go: impl Into<GameObject>, parent_name: impl Into<Il2CppString>, )

TransplantMesh(crate::unity_engine::gameobject::GameObject, ::unity::Il2CppString) 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: IDressUtility> IDressUtilityMethods for __T

Available on crate feature combat-dressutility only.