#[repr(C)]pub struct PlayableHandle {
pub m_handle: IntPtr,
pub m_version: u32,
}Expand description
Fields§
§m_handle: IntPtr§m_version: u32Implementations§
Source§impl PlayableHandle
impl PlayableHandle
pub fn m_null() -> PlayableHandle
pub fn set_m_null(value: PlayableHandle)
Source§impl PlayableHandle
impl PlayableHandle
Sourcepub fn get_null() -> PlayableHandle
pub fn get_null() -> PlayableHandle
get_Null() overload
Sourcepub fn op_equality(
x: impl Into<PlayableHandle>,
y: impl Into<PlayableHandle>,
) -> bool
pub fn op_equality( x: impl Into<PlayableHandle>, y: impl Into<PlayableHandle>, ) -> bool
op_Equality(crate::unity_engine::playables::playablehandle::PlayableHandle, crate::unity_engine::playables::playablehandle::PlayableHandle) overload
Sourcepub fn op_inequality(
x: impl Into<PlayableHandle>,
y: impl Into<PlayableHandle>,
) -> bool
pub fn op_inequality( x: impl Into<PlayableHandle>, y: impl Into<PlayableHandle>, ) -> bool
op_Inequality(crate::unity_engine::playables::playablehandle::PlayableHandle, crate::unity_engine::playables::playablehandle::PlayableHandle) overload
Sourcepub fn compare_version(
lhs: impl Into<PlayableHandle>,
rhs: impl Into<PlayableHandle>,
) -> bool
pub fn compare_version( lhs: impl Into<PlayableHandle>, rhs: impl Into<PlayableHandle>, ) -> bool
CompareVersion(crate::unity_engine::playables::playablehandle::PlayableHandle, crate::unity_engine::playables::playablehandle::PlayableHandle) overload
Sourcepub fn is_valid_injected() -> (bool, PlayableHandle)
pub fn is_valid_injected() -> (bool, PlayableHandle)
IsValid_Injected(*mutcrate::unity_engine::playables::playablehandle::PlayableHandle) overload
Sourcepub fn get_playable_type_injected() -> (SystemType, PlayableHandle)
pub fn get_playable_type_injected() -> (SystemType, PlayableHandle)
GetPlayableType_Injected(*mutcrate::unity_engine::playables::playablehandle::PlayableHandle) overload
Sourcepub fn set_script_instance_injected(
script_instance: impl Into<Object>,
) -> PlayableHandle
pub fn set_script_instance_injected( script_instance: impl Into<Object>, ) -> PlayableHandle
SetScriptInstance_Injected(*mutcrate::unity_engine::playables::playablehandle::PlayableHandle, crate::system::object::Object) overload
Sourcepub fn get_play_state_injected() -> (PlayState, PlayableHandle)
pub fn get_play_state_injected() -> (PlayState, PlayableHandle)
GetPlayState_Injected(*mutcrate::unity_engine::playables::playablehandle::PlayableHandle) overload
Sourcepub fn play_injected() -> PlayableHandle
pub fn play_injected() -> PlayableHandle
Play_Injected(*mutcrate::unity_engine::playables::playablehandle::PlayableHandle) overload
Sourcepub fn pause_injected() -> PlayableHandle
pub fn pause_injected() -> PlayableHandle
Pause_Injected(*mutcrate::unity_engine::playables::playablehandle::PlayableHandle) overload
Sourcepub fn get_speed_injected() -> (f64, PlayableHandle)
pub fn get_speed_injected() -> (f64, PlayableHandle)
GetSpeed_Injected(*mutcrate::unity_engine::playables::playablehandle::PlayableHandle) overload
Sourcepub fn set_speed_injected(value: impl Into<f64>) -> PlayableHandle
pub fn set_speed_injected(value: impl Into<f64>) -> PlayableHandle
SetSpeed_Injected(*mutcrate::unity_engine::playables::playablehandle::PlayableHandle, f64) overload
Sourcepub fn get_time_injected() -> (f64, PlayableHandle)
pub fn get_time_injected() -> (f64, PlayableHandle)
GetTime_Injected(*mutcrate::unity_engine::playables::playablehandle::PlayableHandle) overload
Sourcepub fn set_time_injected(value: impl Into<f64>) -> PlayableHandle
pub fn set_time_injected(value: impl Into<f64>) -> PlayableHandle
SetTime_Injected(*mutcrate::unity_engine::playables::playablehandle::PlayableHandle, f64) overload
Sourcepub fn is_done_injected() -> (bool, PlayableHandle)
pub fn is_done_injected() -> (bool, PlayableHandle)
IsDone_Injected(*mutcrate::unity_engine::playables::playablehandle::PlayableHandle) overload
Sourcepub fn set_done_injected(value: impl Into<bool>) -> PlayableHandle
pub fn set_done_injected(value: impl Into<bool>) -> PlayableHandle
SetDone_Injected(*mutcrate::unity_engine::playables::playablehandle::PlayableHandle, bool) overload
Sourcepub fn get_duration_injected() -> (f64, PlayableHandle)
pub fn get_duration_injected() -> (f64, PlayableHandle)
GetDuration_Injected(*mutcrate::unity_engine::playables::playablehandle::PlayableHandle) overload
Sourcepub fn set_duration_injected(value: impl Into<f64>) -> PlayableHandle
pub fn set_duration_injected(value: impl Into<f64>) -> PlayableHandle
SetDuration_Injected(*mutcrate::unity_engine::playables::playablehandle::PlayableHandle, f64) overload
Sourcepub fn set_propagate_set_time_injected(value: impl Into<bool>) -> PlayableHandle
pub fn set_propagate_set_time_injected(value: impl Into<bool>) -> PlayableHandle
SetPropagateSetTime_Injected(*mutcrate::unity_engine::playables::playablehandle::PlayableHandle, bool) overload
Sourcepub fn get_graph_injected() -> (PlayableHandle, PlayableGraph)
pub fn get_graph_injected() -> (PlayableHandle, PlayableGraph)
GetGraph_Injected(*mutcrate::unity_engine::playables::playablehandle::PlayableHandle, *mutcrate::unity_engine::playables::playablegraph::PlayableGraph) overload
Sourcepub fn get_input_count_injected() -> (i32, PlayableHandle)
pub fn get_input_count_injected() -> (i32, PlayableHandle)
GetInputCount_Injected(*mutcrate::unity_engine::playables::playablehandle::PlayableHandle) overload
Sourcepub fn set_input_count_injected(value: impl Into<i32>) -> PlayableHandle
pub fn set_input_count_injected(value: impl Into<i32>) -> PlayableHandle
SetInputCount_Injected(*mutcrate::unity_engine::playables::playablehandle::PlayableHandle, i32) overload
Sourcepub fn set_input_weight_injected(
weight: impl Into<f32>,
) -> (PlayableHandle, PlayableHandle)
pub fn set_input_weight_injected( weight: impl Into<f32>, ) -> (PlayableHandle, PlayableHandle)
SetInputWeight_Injected(*mutcrate::unity_engine::playables::playablehandle::PlayableHandle, *mutcrate::unity_engine::playables::playablehandle::PlayableHandle, f32) overload
Sourcepub fn get_previous_time_injected() -> (f64, PlayableHandle)
pub fn get_previous_time_injected() -> (f64, PlayableHandle)
GetPreviousTime_Injected(*mutcrate::unity_engine::playables::playablehandle::PlayableHandle) overload
Sourcepub fn set_traversal_mode_injected(
mode: impl Into<PlayableTraversalMode>,
) -> PlayableHandle
pub fn set_traversal_mode_injected( mode: impl Into<PlayableTraversalMode>, ) -> PlayableHandle
SetTraversalMode_Injected(*mutcrate::unity_engine::playables::playablehandle::PlayableHandle, crate::unity_engine::playables::playabletraversalmode::PlayableTraversalMode) overload
Sourcepub fn get_time_wrap_mode_injected() -> (DirectorWrapMode, PlayableHandle)
pub fn get_time_wrap_mode_injected() -> (DirectorWrapMode, PlayableHandle)
GetTimeWrapMode_Injected(*mutcrate::unity_engine::playables::playablehandle::PlayableHandle) overload
Sourcepub fn set_time_wrap_mode_injected(
mode: impl Into<DirectorWrapMode>,
) -> PlayableHandle
pub fn set_time_wrap_mode_injected( mode: impl Into<DirectorWrapMode>, ) -> PlayableHandle
SetTimeWrapMode_Injected(*mutcrate::unity_engine::playables::playablehandle::PlayableHandle, crate::unity_engine::playables::directorwrapmode::DirectorWrapMode) overload
Sourcepub fn get_script_instance_injected() -> (Object, PlayableHandle)
pub fn get_script_instance_injected() -> (Object, PlayableHandle)
GetScriptInstance_Injected(*mutcrate::unity_engine::playables::playablehandle::PlayableHandle) overload
Sourcepub fn get_input_handle_injected(
index: impl Into<i32>,
) -> (PlayableHandle, PlayableHandle)
pub fn get_input_handle_injected( index: impl Into<i32>, ) -> (PlayableHandle, PlayableHandle)
GetInputHandle_Injected(*mutcrate::unity_engine::playables::playablehandle::PlayableHandle, i32, *mutcrate::unity_engine::playables::playablehandle::PlayableHandle) overload
Sourcepub fn set_input_weight_from_index_injected(
index: impl Into<i32>,
weight: impl Into<f32>,
) -> PlayableHandle
pub fn set_input_weight_from_index_injected( index: impl Into<i32>, weight: impl Into<f32>, ) -> PlayableHandle
SetInputWeightFromIndex_Injected(*mutcrate::unity_engine::playables::playablehandle::PlayableHandle, i32, f32) overload
Sourcepub fn get_input_weight_from_index_injected(
index: impl Into<i32>,
) -> (f32, PlayableHandle)
pub fn get_input_weight_from_index_injected( index: impl Into<i32>, ) -> (f32, PlayableHandle)
GetInputWeightFromIndex_Injected(*mutcrate::unity_engine::playables::playablehandle::PlayableHandle, i32) overload
Source§impl PlayableHandle
impl PlayableHandle
pub fn get_object<M0: IlType + Copy + ClassIdentity>(&mut self) -> M0
pub fn is_playable_of_type<M0: IlType + Copy + ClassIdentity>(&mut self) -> bool
Sourcepub fn set_input_weight(
&mut self,
input_index: impl Into<i32>,
weight: impl Into<f32>,
) -> bool
pub fn set_input_weight( &mut self, input_index: impl Into<i32>, weight: impl Into<f32>, ) -> bool
SetInputWeight(i32, f32) overload
Sourcepub fn get_input_weight(&mut self, input_index: impl Into<i32>) -> f32
pub fn get_input_weight(&mut self, input_index: impl Into<i32>) -> f32
GetInputWeight(i32) overload
Sourcepub fn equals(&mut self, p: impl Into<Object>) -> bool
pub fn equals(&mut self, p: impl Into<Object>) -> bool
Equals(crate::system::object::Object) overload
Sourcepub fn equals_2(&mut self, other: impl Into<PlayableHandle>) -> bool
pub fn equals_2(&mut self, other: impl Into<PlayableHandle>) -> bool
Equals(crate::unity_engine::playables::playablehandle::PlayableHandle) overload
Sourcepub fn get_hash_code(&mut self) -> i32
pub fn get_hash_code(&mut self) -> i32
GetHashCode() overload
Sourcepub fn check_input_bounds(&mut self, input_index: impl Into<i32>) -> bool
pub fn check_input_bounds(&mut self, input_index: impl Into<i32>) -> bool
CheckInputBounds(i32) overload
Sourcepub fn check_input_bounds_2(
&mut self,
input_index: impl Into<i32>,
accept_any: impl Into<bool>,
) -> bool
pub fn check_input_bounds_2( &mut self, input_index: impl Into<i32>, accept_any: impl Into<bool>, ) -> bool
CheckInputBounds(i32, bool) overload
Sourcepub fn get_playable_type(&mut self) -> SystemType
pub fn get_playable_type(&mut self) -> SystemType
GetPlayableType() overload
Sourcepub fn set_script_instance(&mut self, script_instance: impl Into<Object>)
pub fn set_script_instance(&mut self, script_instance: impl Into<Object>)
SetScriptInstance(crate::system::object::Object) overload
Sourcepub fn get_play_state(&mut self) -> PlayState
pub fn get_play_state(&mut self) -> PlayState
GetPlayState() overload
Sourcepub fn get_duration(&mut self) -> f64
pub fn get_duration(&mut self) -> f64
GetDuration() overload
Sourcepub fn set_duration(&mut self, value: impl Into<f64>)
pub fn set_duration(&mut self, value: impl Into<f64>)
SetDuration(f64) overload
Sourcepub fn set_propagate_set_time(&mut self, value: impl Into<bool>)
pub fn set_propagate_set_time(&mut self, value: impl Into<bool>)
SetPropagateSetTime(bool) overload
Sourcepub fn get_graph(&mut self) -> PlayableGraph
pub fn get_graph(&mut self) -> PlayableGraph
GetGraph() overload
Sourcepub fn get_input_count(&mut self) -> i32
pub fn get_input_count(&mut self) -> i32
GetInputCount() overload
Sourcepub fn set_input_count(&mut self, value: impl Into<i32>)
pub fn set_input_count(&mut self, value: impl Into<i32>)
SetInputCount(i32) overload
Sourcepub fn set_input_weight_2(
&mut self,
input: impl Into<PlayableHandle>,
weight: impl Into<f32>,
)
pub fn set_input_weight_2( &mut self, input: impl Into<PlayableHandle>, weight: impl Into<f32>, )
SetInputWeight(crate::unity_engine::playables::playablehandle::PlayableHandle, f32) overload
Sourcepub fn get_previous_time(&mut self) -> f64
pub fn get_previous_time(&mut self) -> f64
GetPreviousTime() overload
Sourcepub fn set_traversal_mode(&mut self, mode: impl Into<PlayableTraversalMode>)
pub fn set_traversal_mode(&mut self, mode: impl Into<PlayableTraversalMode>)
SetTraversalMode(crate::unity_engine::playables::playabletraversalmode::PlayableTraversalMode) overload
Sourcepub fn get_time_wrap_mode(&mut self) -> DirectorWrapMode
pub fn get_time_wrap_mode(&mut self) -> DirectorWrapMode
GetTimeWrapMode() overload
Sourcepub fn set_time_wrap_mode(&mut self, mode: impl Into<DirectorWrapMode>)
pub fn set_time_wrap_mode(&mut self, mode: impl Into<DirectorWrapMode>)
SetTimeWrapMode(crate::unity_engine::playables::directorwrapmode::DirectorWrapMode) overload
Sourcepub fn get_script_instance(&mut self) -> Object
pub fn get_script_instance(&mut self) -> Object
GetScriptInstance() overload
Sourcepub fn get_input_handle(&mut self, index: impl Into<i32>) -> PlayableHandle
pub fn get_input_handle(&mut self, index: impl Into<i32>) -> PlayableHandle
GetInputHandle(i32) overload
Sourcepub fn set_input_weight_from_index(
&mut self,
index: impl Into<i32>,
weight: impl Into<f32>,
)
pub fn set_input_weight_from_index( &mut self, index: impl Into<i32>, weight: impl Into<f32>, )
SetInputWeightFromIndex(i32, f32) overload
Sourcepub fn get_input_weight_from_index(&mut self, index: impl Into<i32>) -> f32
pub fn get_input_weight_from_index(&mut self, index: impl Into<i32>) -> f32
GetInputWeightFromIndex(i32) overload
Source§impl PlayableHandle
impl PlayableHandle
pub fn get_null_method_info() -> &'static MethodInfo
pub fn get_input_method_info() -> &'static MethodInfo
pub fn set_input_weight_method_info() -> &'static MethodInfo
pub fn get_input_weight_method_info() -> &'static MethodInfo
pub fn op_equality_method_info() -> &'static MethodInfo
pub fn op_inequality_method_info() -> &'static MethodInfo
pub fn equals_method_info() -> &'static MethodInfo
pub fn equals_2_method_info() -> &'static MethodInfo
pub fn get_hash_code_method_info() -> &'static MethodInfo
pub fn compare_version_method_info() -> &'static MethodInfo
pub fn check_input_bounds_method_info() -> &'static MethodInfo
pub fn check_input_bounds_2_method_info() -> &'static MethodInfo
pub fn is_valid_method_info() -> &'static MethodInfo
pub fn get_playable_type_method_info() -> &'static MethodInfo
pub fn set_script_instance_method_info() -> &'static MethodInfo
pub fn get_play_state_method_info() -> &'static MethodInfo
pub fn play_method_info() -> &'static MethodInfo
pub fn pause_method_info() -> &'static MethodInfo
pub fn get_speed_method_info() -> &'static MethodInfo
pub fn set_speed_method_info() -> &'static MethodInfo
pub fn get_time_method_info() -> &'static MethodInfo
pub fn set_time_method_info() -> &'static MethodInfo
pub fn is_done_method_info() -> &'static MethodInfo
pub fn set_done_method_info() -> &'static MethodInfo
pub fn get_duration_method_info() -> &'static MethodInfo
pub fn set_duration_method_info() -> &'static MethodInfo
pub fn set_propagate_set_time_method_info() -> &'static MethodInfo
pub fn get_graph_method_info() -> &'static MethodInfo
pub fn get_input_count_method_info() -> &'static MethodInfo
pub fn set_input_count_method_info() -> &'static MethodInfo
pub fn set_input_weight_2_method_info() -> &'static MethodInfo
pub fn get_previous_time_method_info() -> &'static MethodInfo
pub fn set_traversal_mode_method_info() -> &'static MethodInfo
pub fn get_time_wrap_mode_method_info() -> &'static MethodInfo
pub fn set_time_wrap_mode_method_info() -> &'static MethodInfo
pub fn get_script_instance_method_info() -> &'static MethodInfo
pub fn get_input_handle_method_info() -> &'static MethodInfo
pub fn set_input_weight_from_index_method_info() -> &'static MethodInfo
pub fn get_input_weight_from_index_method_info() -> &'static MethodInfo
pub fn cctor_method_info() -> &'static MethodInfo
pub fn is_valid_injected_method_info() -> &'static MethodInfo
pub fn get_playable_type_injected_method_info() -> &'static MethodInfo
pub fn set_script_instance_injected_method_info() -> &'static MethodInfo
pub fn get_play_state_injected_method_info() -> &'static MethodInfo
pub fn play_injected_method_info() -> &'static MethodInfo
pub fn pause_injected_method_info() -> &'static MethodInfo
pub fn get_speed_injected_method_info() -> &'static MethodInfo
pub fn set_speed_injected_method_info() -> &'static MethodInfo
pub fn get_time_injected_method_info() -> &'static MethodInfo
pub fn set_time_injected_method_info() -> &'static MethodInfo
pub fn is_done_injected_method_info() -> &'static MethodInfo
pub fn set_done_injected_method_info() -> &'static MethodInfo
pub fn get_duration_injected_method_info() -> &'static MethodInfo
pub fn set_duration_injected_method_info() -> &'static MethodInfo
pub fn set_propagate_set_time_injected_method_info() -> &'static MethodInfo
pub fn get_graph_injected_method_info() -> &'static MethodInfo
pub fn get_input_count_injected_method_info() -> &'static MethodInfo
pub fn set_input_count_injected_method_info() -> &'static MethodInfo
pub fn set_input_weight_injected_method_info() -> &'static MethodInfo
pub fn get_previous_time_injected_method_info() -> &'static MethodInfo
pub fn set_traversal_mode_injected_method_info() -> &'static MethodInfo
pub fn get_time_wrap_mode_injected_method_info() -> &'static MethodInfo
pub fn set_time_wrap_mode_injected_method_info() -> &'static MethodInfo
pub fn get_script_instance_injected_method_info() -> &'static MethodInfo
pub fn get_input_handle_injected_method_info() -> &'static MethodInfo
pub fn set_input_weight_from_index_injected_method_info() -> &'static MethodInfo
pub fn get_input_weight_from_index_injected_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for PlayableHandle
impl ClassIdentity for PlayableHandle
Source§impl Clone for PlayableHandle
impl Clone for PlayableHandle
Source§fn clone(&self) -> PlayableHandle
fn clone(&self) -> PlayableHandle
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for PlayableHandle
Auto Trait Implementations§
impl Freeze for PlayableHandle
impl RefUnwindSafe for PlayableHandle
impl Send for PlayableHandle
impl Sync for PlayableHandle
impl Unpin for PlayableHandle
impl UnwindSafe for PlayableHandle
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)