Skip to main content

IAkAmbientMethods

Trait IAkAmbientMethods 

Source
pub trait IAkAmbientMethods: IAkAmbient {
    // Provided methods
    fn on_enable(self) { ... }
    fn start(self) { ... }
    fn on_disable(self) { ... }
    fn handle_event(self, in_game_object: impl Into<GameObject>) { ... }
    fn on_draw_gizmos_selected(self) { ... }
    fn update(self) { ... }
    fn calc_lenear_points(
        self,
        input_pos: impl Into<Vector3>,
    ) -> (bool, i32, Array<Vector3>, Array<Vector3>, Array<Vector3>) { ... }
    fn build_multi_direction_array(
        self,
        event_pos_list: impl Into<AkMultiPosEvent>,
    ) -> AkPositionArray { ... }
    fn build_ak_position_array(self) -> AkPositionArray { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn on_enable(self)

OnEnable() overload

Source

fn start(self)

Start() overload

Source

fn on_disable(self)

OnDisable() overload

Source

fn handle_event(self, in_game_object: impl Into<GameObject>)

HandleEvent(crate::unity_engine::gameobject::GameObject) overload

Source

fn on_draw_gizmos_selected(self)

OnDrawGizmosSelected() overload

Source

fn update(self)

Update() overload

Source

fn calc_lenear_points( self, input_pos: impl Into<Vector3>, ) -> (bool, i32, Array<Vector3>, Array<Vector3>, Array<Vector3>)

CalcLenearPoints(crate::unity_engine::vector3::Vector3, *muti32, *mut::unity::Array<crate::unity_engine::vector3::Vector3>, *mut::unity::Array<crate::unity_engine::vector3::Vector3>, *mut::unity::Array<crate::unity_engine::vector3::Vector3>) overload

Source

fn build_multi_direction_array( self, event_pos_list: impl Into<AkMultiPosEvent>, ) -> AkPositionArray

BuildMultiDirectionArray(crate::root::akmultiposevent::AkMultiPosEvent) overload

Source

fn build_ak_position_array(self) -> AkPositionArray

BuildAkPositionArray() 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: IAkAmbient> IAkAmbientMethods for __T

Available on crate feature root-akambient only.