pub trait IParticleSystemMethods: IParticleSystem {
Show 123 methods
// Provided methods
fn emit(
self,
position: impl Into<Vector3>,
velocity: impl Into<Vector3>,
size: impl Into<f32>,
lifetime: impl Into<f32>,
color: impl Into<Color32>,
) { ... }
fn emit_2(self, particle: impl Into<ParticleSystem_Particle>) { ... }
fn get_start_delay(self) -> f32 { ... }
fn set_start_delay(self, value: impl Into<f32>) { ... }
fn get_loop(self) -> bool { ... }
fn set_loop(self, value: impl Into<bool>) { ... }
fn get_play_on_awake(self) -> bool { ... }
fn set_play_on_awake(self, value: impl Into<bool>) { ... }
fn get_duration(self) -> f32 { ... }
fn get_playback_speed(self) -> f32 { ... }
fn set_playback_speed(self, value: impl Into<f32>) { ... }
fn get_enable_emission(self) -> bool { ... }
fn set_enable_emission(self, value: impl Into<bool>) { ... }
fn get_emission_rate(self) -> f32 { ... }
fn set_emission_rate(self, value: impl Into<f32>) { ... }
fn get_start_speed(self) -> f32 { ... }
fn set_start_speed(self, value: impl Into<f32>) { ... }
fn get_start_size(self) -> f32 { ... }
fn set_start_size(self, value: impl Into<f32>) { ... }
fn get_start_color(self) -> Color { ... }
fn set_start_color(self, value: impl Into<Color>) { ... }
fn get_start_rotation(self) -> f32 { ... }
fn set_start_rotation(self, value: impl Into<f32>) { ... }
fn get_start_rotation3_d(self) -> Vector3 { ... }
fn set_start_rotation3_d(self, value: impl Into<Vector3>) { ... }
fn get_start_lifetime(self) -> f32 { ... }
fn set_start_lifetime(self, value: impl Into<f32>) { ... }
fn get_gravity_modifier(self) -> f32 { ... }
fn set_gravity_modifier(self, value: impl Into<f32>) { ... }
fn get_max_particles(self) -> i32 { ... }
fn set_max_particles(self, value: impl Into<i32>) { ... }
fn get_simulation_space(self) -> ParticleSystemSimulationSpace { ... }
fn set_simulation_space(
self,
value: impl Into<ParticleSystemSimulationSpace>,
) { ... }
fn get_scaling_mode(self) -> ParticleSystemScalingMode { ... }
fn set_scaling_mode(self, value: impl Into<ParticleSystemScalingMode>) { ... }
fn get_automatic_culling_enabled(self) -> bool { ... }
fn get_is_playing(self) -> bool { ... }
fn get_is_emitting(self) -> bool { ... }
fn get_is_stopped(self) -> bool { ... }
fn get_is_paused(self) -> bool { ... }
fn get_particle_count(self) -> i32 { ... }
fn get_time(self) -> f32 { ... }
fn set_time(self, value: impl Into<f32>) { ... }
fn get_random_seed(self) -> u32 { ... }
fn set_random_seed(self, value: impl Into<u32>) { ... }
fn get_use_auto_random_seed(self) -> bool { ... }
fn set_use_auto_random_seed(self, value: impl Into<bool>) { ... }
fn get_procedural_simulation_supported(self) -> bool { ... }
fn get_particle_current_size(self) -> (f32, ParticleSystem_Particle) { ... }
fn get_particle_current_size3_d(self) -> (Vector3, ParticleSystem_Particle) { ... }
fn get_particle_current_color(self) -> (Color32, ParticleSystem_Particle) { ... }
fn get_particle_mesh_index(self) -> (i32, ParticleSystem_Particle) { ... }
fn set_particles(
self,
particles: impl Into<Array<ParticleSystem_Particle>>,
size: impl Into<i32>,
offset: impl Into<i32>,
) { ... }
fn set_particles_2(
self,
particles: impl Into<Array<ParticleSystem_Particle>>,
size: impl Into<i32>,
) { ... }
fn set_particles_3(
self,
particles: impl Into<Array<ParticleSystem_Particle>>,
) { ... }
fn set_particles_with_native_array(
self,
particles: impl Into<IntPtr>,
particles_length: impl Into<i32>,
size: impl Into<i32>,
offset: impl Into<i32>,
) { ... }
fn get_particles(
self,
particles: impl Into<Array<ParticleSystem_Particle>>,
size: impl Into<i32>,
offset: impl Into<i32>,
) -> i32 { ... }
fn get_particles_2(
self,
particles: impl Into<Array<ParticleSystem_Particle>>,
size: impl Into<i32>,
) -> i32 { ... }
fn get_particles_3(
self,
particles: impl Into<Array<ParticleSystem_Particle>>,
) -> i32 { ... }
fn get_particles_with_native_array(
self,
particles: impl Into<IntPtr>,
particles_length: impl Into<i32>,
size: impl Into<i32>,
offset: impl Into<i32>,
) -> i32 { ... }
fn set_custom_particle_data(
self,
custom_data: impl Into<List_1<Vector4>>,
stream_index: impl Into<ParticleSystemCustomData>,
) { ... }
fn get_custom_particle_data(
self,
custom_data: impl Into<List_1<Vector4>>,
stream_index: impl Into<ParticleSystemCustomData>,
) -> i32 { ... }
fn get_playback_state(self) -> ParticleSystem_PlaybackState { ... }
fn set_playback_state(
self,
playback_state: impl Into<ParticleSystem_PlaybackState>,
) { ... }
fn get_trail_data_internal(self) -> ParticleSystem_Trails { ... }
fn get_trails(self) -> ParticleSystem_Trails { ... }
fn set_trails(self, trail_data: impl Into<ParticleSystem_Trails>) { ... }
fn simulate(
self,
t: impl Into<f32>,
with_children: impl Into<bool>,
restart: impl Into<bool>,
fixed_time_step: impl Into<bool>,
) { ... }
fn simulate_2(
self,
t: impl Into<f32>,
with_children: impl Into<bool>,
restart: impl Into<bool>,
) { ... }
fn simulate_3(self, t: impl Into<f32>, with_children: impl Into<bool>) { ... }
fn simulate_4(self, t: impl Into<f32>) { ... }
fn play(self, with_children: impl Into<bool>) { ... }
fn play_2(self) { ... }
fn pause(self, with_children: impl Into<bool>) { ... }
fn pause_2(self) { ... }
fn stop(
self,
with_children: impl Into<bool>,
stop_behavior: impl Into<ParticleSystemStopBehavior>,
) { ... }
fn stop_2(self, with_children: impl Into<bool>) { ... }
fn stop_3(self) { ... }
fn clear(self, with_children: impl Into<bool>) { ... }
fn clear_2(self) { ... }
fn is_alive(self, with_children: impl Into<bool>) -> bool { ... }
fn is_alive_2(self) -> bool { ... }
fn emit_3(self, count: impl Into<i32>) { ... }
fn emit_internal(self, count: impl Into<i32>) { ... }
fn emit_4(
self,
emit_params: impl Into<ParticleSystem_EmitParams>,
count: impl Into<i32>,
) { ... }
fn emit_old_internal(self) -> ParticleSystem_Particle { ... }
fn trigger_sub_emitter(self, sub_emitter_index: impl Into<i32>) { ... }
fn trigger_sub_emitter_2(
self,
sub_emitter_index: impl Into<i32>,
) -> ParticleSystem_Particle { ... }
fn trigger_sub_emitter_for_particle(
self,
sub_emitter_index: impl Into<i32>,
particle: impl Into<ParticleSystem_Particle>,
) { ... }
fn trigger_sub_emitter_3(
self,
sub_emitter_index: impl Into<i32>,
particles: impl Into<List_1<ParticleSystem_Particle>>,
) { ... }
fn allocate_axis_of_rotation_attribute(self) { ... }
fn allocate_mesh_index_attribute(self) { ... }
fn allocate_custom_data_attribute(
self,
stream: impl Into<ParticleSystemCustomData>,
) { ... }
fn get_main(self) -> ParticleSystem_MainModule { ... }
fn get_emission(self) -> ParticleSystem_EmissionModule { ... }
fn get_shape(self) -> ParticleSystem_ShapeModule { ... }
fn get_velocity_over_lifetime(
self,
) -> ParticleSystem_VelocityOverLifetimeModule { ... }
fn get_limit_velocity_over_lifetime(
self,
) -> ParticleSystem_LimitVelocityOverLifetimeModule { ... }
fn get_inherit_velocity(self) -> ParticleSystem_InheritVelocityModule { ... }
fn get_lifetime_by_emitter_speed(
self,
) -> ParticleSystem_LifetimeByEmitterSpeedModule { ... }
fn get_force_over_lifetime(self) -> ParticleSystem_ForceOverLifetimeModule { ... }
fn get_color_over_lifetime(self) -> ParticleSystem_ColorOverLifetimeModule { ... }
fn get_color_by_speed(self) -> ParticleSystem_ColorBySpeedModule { ... }
fn get_size_over_lifetime(self) -> ParticleSystem_SizeOverLifetimeModule { ... }
fn get_size_by_speed(self) -> ParticleSystem_SizeBySpeedModule { ... }
fn get_rotation_over_lifetime(
self,
) -> ParticleSystem_RotationOverLifetimeModule { ... }
fn get_rotation_by_speed(self) -> ParticleSystem_RotationBySpeedModule { ... }
fn get_external_forces(self) -> ParticleSystem_ExternalForcesModule { ... }
fn get_noise(self) -> ParticleSystem_NoiseModule { ... }
fn get_collision(self) -> ParticleSystem_CollisionModule { ... }
fn get_trigger(self) -> ParticleSystem_TriggerModule { ... }
fn get_sub_emitters(self) -> ParticleSystem_SubEmittersModule { ... }
fn get_texture_sheet_animation(
self,
) -> ParticleSystem_TextureSheetAnimationModule { ... }
fn get_lights(self) -> ParticleSystem_LightsModule { ... }
fn get_custom_data(self) -> ParticleSystem_CustomDataModule { ... }
fn ctor(self) { ... }
fn get_particle_current_size3_d_injected(
self,
) -> (ParticleSystem_Particle, Vector3) { ... }
fn get_particle_current_color_injected(
self,
) -> (ParticleSystem_Particle, Color32) { ... }
fn get_playback_state_injected(self) -> ParticleSystem_PlaybackState { ... }
fn set_playback_state_injected(self) -> ParticleSystem_PlaybackState { ... }
fn set_trails_injected(self) -> ParticleSystem_Trails { ... }
fn emit_injected(self, count: impl Into<i32>) -> ParticleSystem_EmitParams { ... }
fn trigger_sub_emitter_for_particle_injected(
self,
sub_emitter_index: impl Into<i32>,
) -> ParticleSystem_Particle { ... }
}Provided Methods§
Sourcefn emit(
self,
position: impl Into<Vector3>,
velocity: impl Into<Vector3>,
size: impl Into<f32>,
lifetime: impl Into<f32>,
color: impl Into<Color32>,
)
fn emit( self, position: impl Into<Vector3>, velocity: impl Into<Vector3>, size: impl Into<f32>, lifetime: impl Into<f32>, color: impl Into<Color32>, )
Emit(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, f32, f32, crate::unity_engine::color32::Color32) overload
Sourcefn emit_2(self, particle: impl Into<ParticleSystem_Particle>)
fn emit_2(self, particle: impl Into<ParticleSystem_Particle>)
Emit(crate::unity_engine::particlesystem::ParticleSystem_Particle) overload
Sourcefn get_start_delay(self) -> f32
fn get_start_delay(self) -> f32
get_startDelay() overload
Sourcefn set_start_delay(self, value: impl Into<f32>)
fn set_start_delay(self, value: impl Into<f32>)
set_startDelay(f32) overload
Sourcefn get_play_on_awake(self) -> bool
fn get_play_on_awake(self) -> bool
get_playOnAwake() overload
Sourcefn set_play_on_awake(self, value: impl Into<bool>)
fn set_play_on_awake(self, value: impl Into<bool>)
set_playOnAwake(bool) overload
Sourcefn get_duration(self) -> f32
fn get_duration(self) -> f32
get_duration() overload
Sourcefn get_playback_speed(self) -> f32
fn get_playback_speed(self) -> f32
get_playbackSpeed() overload
Sourcefn set_playback_speed(self, value: impl Into<f32>)
fn set_playback_speed(self, value: impl Into<f32>)
set_playbackSpeed(f32) overload
Sourcefn get_enable_emission(self) -> bool
fn get_enable_emission(self) -> bool
get_enableEmission() overload
Sourcefn set_enable_emission(self, value: impl Into<bool>)
fn set_enable_emission(self, value: impl Into<bool>)
set_enableEmission(bool) overload
Sourcefn get_emission_rate(self) -> f32
fn get_emission_rate(self) -> f32
get_emissionRate() overload
Sourcefn set_emission_rate(self, value: impl Into<f32>)
fn set_emission_rate(self, value: impl Into<f32>)
set_emissionRate(f32) overload
Sourcefn get_start_speed(self) -> f32
fn get_start_speed(self) -> f32
get_startSpeed() overload
Sourcefn set_start_speed(self, value: impl Into<f32>)
fn set_start_speed(self, value: impl Into<f32>)
set_startSpeed(f32) overload
Sourcefn get_start_size(self) -> f32
fn get_start_size(self) -> f32
get_startSize() overload
Sourcefn set_start_size(self, value: impl Into<f32>)
fn set_start_size(self, value: impl Into<f32>)
set_startSize(f32) overload
Sourcefn get_start_color(self) -> Color
fn get_start_color(self) -> Color
get_startColor() overload
Sourcefn set_start_color(self, value: impl Into<Color>)
fn set_start_color(self, value: impl Into<Color>)
set_startColor(crate::unity_engine::color::Color) overload
Sourcefn get_start_rotation(self) -> f32
fn get_start_rotation(self) -> f32
get_startRotation() overload
Sourcefn set_start_rotation(self, value: impl Into<f32>)
fn set_start_rotation(self, value: impl Into<f32>)
set_startRotation(f32) overload
Sourcefn get_start_rotation3_d(self) -> Vector3
fn get_start_rotation3_d(self) -> Vector3
get_startRotation3D() overload
Sourcefn set_start_rotation3_d(self, value: impl Into<Vector3>)
fn set_start_rotation3_d(self, value: impl Into<Vector3>)
set_startRotation3D(crate::unity_engine::vector3::Vector3) overload
Sourcefn get_start_lifetime(self) -> f32
fn get_start_lifetime(self) -> f32
get_startLifetime() overload
Sourcefn set_start_lifetime(self, value: impl Into<f32>)
fn set_start_lifetime(self, value: impl Into<f32>)
set_startLifetime(f32) overload
Sourcefn get_gravity_modifier(self) -> f32
fn get_gravity_modifier(self) -> f32
get_gravityModifier() overload
Sourcefn set_gravity_modifier(self, value: impl Into<f32>)
fn set_gravity_modifier(self, value: impl Into<f32>)
set_gravityModifier(f32) overload
Sourcefn get_max_particles(self) -> i32
fn get_max_particles(self) -> i32
get_maxParticles() overload
Sourcefn set_max_particles(self, value: impl Into<i32>)
fn set_max_particles(self, value: impl Into<i32>)
set_maxParticles(i32) overload
Sourcefn get_simulation_space(self) -> ParticleSystemSimulationSpace
fn get_simulation_space(self) -> ParticleSystemSimulationSpace
get_simulationSpace() overload
Sourcefn set_simulation_space(self, value: impl Into<ParticleSystemSimulationSpace>)
fn set_simulation_space(self, value: impl Into<ParticleSystemSimulationSpace>)
set_simulationSpace(crate::unity_engine::particlesystemsimulationspace::ParticleSystemSimulationSpace) overload
Sourcefn get_scaling_mode(self) -> ParticleSystemScalingMode
fn get_scaling_mode(self) -> ParticleSystemScalingMode
get_scalingMode() overload
Sourcefn set_scaling_mode(self, value: impl Into<ParticleSystemScalingMode>)
fn set_scaling_mode(self, value: impl Into<ParticleSystemScalingMode>)
set_scalingMode(crate::unity_engine::particlesystemscalingmode::ParticleSystemScalingMode) overload
Sourcefn get_automatic_culling_enabled(self) -> bool
fn get_automatic_culling_enabled(self) -> bool
get_automaticCullingEnabled() overload
Sourcefn get_is_playing(self) -> bool
fn get_is_playing(self) -> bool
get_isPlaying() overload
Sourcefn get_is_emitting(self) -> bool
fn get_is_emitting(self) -> bool
get_isEmitting() overload
Sourcefn get_is_stopped(self) -> bool
fn get_is_stopped(self) -> bool
get_isStopped() overload
Sourcefn get_is_paused(self) -> bool
fn get_is_paused(self) -> bool
get_isPaused() overload
Sourcefn get_particle_count(self) -> i32
fn get_particle_count(self) -> i32
get_particleCount() overload
Sourcefn get_random_seed(self) -> u32
fn get_random_seed(self) -> u32
get_randomSeed() overload
Sourcefn set_random_seed(self, value: impl Into<u32>)
fn set_random_seed(self, value: impl Into<u32>)
set_randomSeed(u32) overload
Sourcefn get_use_auto_random_seed(self) -> bool
fn get_use_auto_random_seed(self) -> bool
get_useAutoRandomSeed() overload
Sourcefn set_use_auto_random_seed(self, value: impl Into<bool>)
fn set_use_auto_random_seed(self, value: impl Into<bool>)
set_useAutoRandomSeed(bool) overload
Sourcefn get_procedural_simulation_supported(self) -> bool
fn get_procedural_simulation_supported(self) -> bool
get_proceduralSimulationSupported() overload
Sourcefn get_particle_current_size(self) -> (f32, ParticleSystem_Particle)
fn get_particle_current_size(self) -> (f32, ParticleSystem_Particle)
GetParticleCurrentSize(*mutcrate::unity_engine::particlesystem::ParticleSystem_Particle) overload
Sourcefn get_particle_current_size3_d(self) -> (Vector3, ParticleSystem_Particle)
fn get_particle_current_size3_d(self) -> (Vector3, ParticleSystem_Particle)
GetParticleCurrentSize3D(*mutcrate::unity_engine::particlesystem::ParticleSystem_Particle) overload
Sourcefn get_particle_current_color(self) -> (Color32, ParticleSystem_Particle)
fn get_particle_current_color(self) -> (Color32, ParticleSystem_Particle)
GetParticleCurrentColor(*mutcrate::unity_engine::particlesystem::ParticleSystem_Particle) overload
Sourcefn get_particle_mesh_index(self) -> (i32, ParticleSystem_Particle)
fn get_particle_mesh_index(self) -> (i32, ParticleSystem_Particle)
GetParticleMeshIndex(*mutcrate::unity_engine::particlesystem::ParticleSystem_Particle) overload
Sourcefn set_particles(
self,
particles: impl Into<Array<ParticleSystem_Particle>>,
size: impl Into<i32>,
offset: impl Into<i32>,
)
fn set_particles( self, particles: impl Into<Array<ParticleSystem_Particle>>, size: impl Into<i32>, offset: impl Into<i32>, )
SetParticles(::unity::Array<crate::unity_engine::particlesystem::ParticleSystem_Particle>, i32, i32) overload
Sourcefn set_particles_2(
self,
particles: impl Into<Array<ParticleSystem_Particle>>,
size: impl Into<i32>,
)
fn set_particles_2( self, particles: impl Into<Array<ParticleSystem_Particle>>, size: impl Into<i32>, )
SetParticles(::unity::Array<crate::unity_engine::particlesystem::ParticleSystem_Particle>, i32) overload
Sourcefn set_particles_3(self, particles: impl Into<Array<ParticleSystem_Particle>>)
fn set_particles_3(self, particles: impl Into<Array<ParticleSystem_Particle>>)
SetParticles(::unity::Array<crate::unity_engine::particlesystem::ParticleSystem_Particle>) overload
Sourcefn set_particles_with_native_array(
self,
particles: impl Into<IntPtr>,
particles_length: impl Into<i32>,
size: impl Into<i32>,
offset: impl Into<i32>,
)
fn set_particles_with_native_array( self, particles: impl Into<IntPtr>, particles_length: impl Into<i32>, size: impl Into<i32>, offset: impl Into<i32>, )
SetParticlesWithNativeArray(::unity::IntPtr, i32, i32, i32) overload
Sourcefn get_particles(
self,
particles: impl Into<Array<ParticleSystem_Particle>>,
size: impl Into<i32>,
offset: impl Into<i32>,
) -> i32
fn get_particles( self, particles: impl Into<Array<ParticleSystem_Particle>>, size: impl Into<i32>, offset: impl Into<i32>, ) -> i32
GetParticles(::unity::Array<crate::unity_engine::particlesystem::ParticleSystem_Particle>, i32, i32) overload
Sourcefn get_particles_2(
self,
particles: impl Into<Array<ParticleSystem_Particle>>,
size: impl Into<i32>,
) -> i32
fn get_particles_2( self, particles: impl Into<Array<ParticleSystem_Particle>>, size: impl Into<i32>, ) -> i32
GetParticles(::unity::Array<crate::unity_engine::particlesystem::ParticleSystem_Particle>, i32) overload
Sourcefn get_particles_3(
self,
particles: impl Into<Array<ParticleSystem_Particle>>,
) -> i32
fn get_particles_3( self, particles: impl Into<Array<ParticleSystem_Particle>>, ) -> i32
GetParticles(::unity::Array<crate::unity_engine::particlesystem::ParticleSystem_Particle>) overload
Sourcefn get_particles_with_native_array(
self,
particles: impl Into<IntPtr>,
particles_length: impl Into<i32>,
size: impl Into<i32>,
offset: impl Into<i32>,
) -> i32
fn get_particles_with_native_array( self, particles: impl Into<IntPtr>, particles_length: impl Into<i32>, size: impl Into<i32>, offset: impl Into<i32>, ) -> i32
GetParticlesWithNativeArray(::unity::IntPtr, i32, i32, i32) overload
Sourcefn set_custom_particle_data(
self,
custom_data: impl Into<List_1<Vector4>>,
stream_index: impl Into<ParticleSystemCustomData>,
)
fn set_custom_particle_data( self, custom_data: impl Into<List_1<Vector4>>, stream_index: impl Into<ParticleSystemCustomData>, )
SetCustomParticleData(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>, crate::unity_engine::particlesystemcustomdata::ParticleSystemCustomData) overload
Sourcefn get_custom_particle_data(
self,
custom_data: impl Into<List_1<Vector4>>,
stream_index: impl Into<ParticleSystemCustomData>,
) -> i32
fn get_custom_particle_data( self, custom_data: impl Into<List_1<Vector4>>, stream_index: impl Into<ParticleSystemCustomData>, ) -> i32
GetCustomParticleData(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>, crate::unity_engine::particlesystemcustomdata::ParticleSystemCustomData) overload
Sourcefn get_playback_state(self) -> ParticleSystem_PlaybackState
fn get_playback_state(self) -> ParticleSystem_PlaybackState
GetPlaybackState() overload
Sourcefn set_playback_state(
self,
playback_state: impl Into<ParticleSystem_PlaybackState>,
)
fn set_playback_state( self, playback_state: impl Into<ParticleSystem_PlaybackState>, )
SetPlaybackState(crate::unity_engine::particlesystem::ParticleSystem_PlaybackState) overload
Sourcefn get_trail_data_internal(self) -> ParticleSystem_Trails
fn get_trail_data_internal(self) -> ParticleSystem_Trails
GetTrailDataInternal(*mutcrate::unity_engine::particlesystem::ParticleSystem_Trails) overload
Sourcefn get_trails(self) -> ParticleSystem_Trails
fn get_trails(self) -> ParticleSystem_Trails
GetTrails() overload
Sourcefn set_trails(self, trail_data: impl Into<ParticleSystem_Trails>)
fn set_trails(self, trail_data: impl Into<ParticleSystem_Trails>)
SetTrails(crate::unity_engine::particlesystem::ParticleSystem_Trails) overload
Sourcefn simulate(
self,
t: impl Into<f32>,
with_children: impl Into<bool>,
restart: impl Into<bool>,
fixed_time_step: impl Into<bool>,
)
fn simulate( self, t: impl Into<f32>, with_children: impl Into<bool>, restart: impl Into<bool>, fixed_time_step: impl Into<bool>, )
Simulate(f32, bool, bool, bool) overload
Sourcefn simulate_2(
self,
t: impl Into<f32>,
with_children: impl Into<bool>,
restart: impl Into<bool>,
)
fn simulate_2( self, t: impl Into<f32>, with_children: impl Into<bool>, restart: impl Into<bool>, )
Simulate(f32, bool, bool) overload
Sourcefn simulate_3(self, t: impl Into<f32>, with_children: impl Into<bool>)
fn simulate_3(self, t: impl Into<f32>, with_children: impl Into<bool>)
Simulate(f32, bool) overload
Sourcefn simulate_4(self, t: impl Into<f32>)
fn simulate_4(self, t: impl Into<f32>)
Simulate(f32) overload
Sourcefn stop(
self,
with_children: impl Into<bool>,
stop_behavior: impl Into<ParticleSystemStopBehavior>,
)
fn stop( self, with_children: impl Into<bool>, stop_behavior: impl Into<ParticleSystemStopBehavior>, )
Stop(bool, crate::unity_engine::particlesystemstopbehavior::ParticleSystemStopBehavior) overload
Sourcefn is_alive_2(self) -> bool
fn is_alive_2(self) -> bool
IsAlive() overload
Sourcefn emit_internal(self, count: impl Into<i32>)
fn emit_internal(self, count: impl Into<i32>)
Emit_Internal(i32) overload
Sourcefn emit_4(
self,
emit_params: impl Into<ParticleSystem_EmitParams>,
count: impl Into<i32>,
)
fn emit_4( self, emit_params: impl Into<ParticleSystem_EmitParams>, count: impl Into<i32>, )
Emit(crate::unity_engine::particlesystem::ParticleSystem_EmitParams, i32) overload
Sourcefn emit_old_internal(self) -> ParticleSystem_Particle
fn emit_old_internal(self) -> ParticleSystem_Particle
EmitOld_Internal(*mutcrate::unity_engine::particlesystem::ParticleSystem_Particle) overload
Sourcefn trigger_sub_emitter(self, sub_emitter_index: impl Into<i32>)
fn trigger_sub_emitter(self, sub_emitter_index: impl Into<i32>)
TriggerSubEmitter(i32) overload
Sourcefn trigger_sub_emitter_2(
self,
sub_emitter_index: impl Into<i32>,
) -> ParticleSystem_Particle
fn trigger_sub_emitter_2( self, sub_emitter_index: impl Into<i32>, ) -> ParticleSystem_Particle
TriggerSubEmitter(i32, *mutcrate::unity_engine::particlesystem::ParticleSystem_Particle) overload
Sourcefn trigger_sub_emitter_for_particle(
self,
sub_emitter_index: impl Into<i32>,
particle: impl Into<ParticleSystem_Particle>,
)
fn trigger_sub_emitter_for_particle( self, sub_emitter_index: impl Into<i32>, particle: impl Into<ParticleSystem_Particle>, )
TriggerSubEmitterForParticle(i32, crate::unity_engine::particlesystem::ParticleSystem_Particle) overload
Sourcefn trigger_sub_emitter_3(
self,
sub_emitter_index: impl Into<i32>,
particles: impl Into<List_1<ParticleSystem_Particle>>,
)
fn trigger_sub_emitter_3( self, sub_emitter_index: impl Into<i32>, particles: impl Into<List_1<ParticleSystem_Particle>>, )
TriggerSubEmitter(i32, crate::system::collections::generic::list_1::List_1<crate::unity_engine::particlesystem::ParticleSystem_Particle>) overload
Sourcefn allocate_axis_of_rotation_attribute(self)
fn allocate_axis_of_rotation_attribute(self)
AllocateAxisOfRotationAttribute() overload
Sourcefn allocate_mesh_index_attribute(self)
fn allocate_mesh_index_attribute(self)
AllocateMeshIndexAttribute() overload
Sourcefn allocate_custom_data_attribute(
self,
stream: impl Into<ParticleSystemCustomData>,
)
fn allocate_custom_data_attribute( self, stream: impl Into<ParticleSystemCustomData>, )
AllocateCustomDataAttribute(crate::unity_engine::particlesystemcustomdata::ParticleSystemCustomData) overload
Sourcefn get_main(self) -> ParticleSystem_MainModule
fn get_main(self) -> ParticleSystem_MainModule
get_main() overload
Sourcefn get_emission(self) -> ParticleSystem_EmissionModule
fn get_emission(self) -> ParticleSystem_EmissionModule
get_emission() overload
Sourcefn get_shape(self) -> ParticleSystem_ShapeModule
fn get_shape(self) -> ParticleSystem_ShapeModule
get_shape() overload
Sourcefn get_velocity_over_lifetime(self) -> ParticleSystem_VelocityOverLifetimeModule
fn get_velocity_over_lifetime(self) -> ParticleSystem_VelocityOverLifetimeModule
get_velocityOverLifetime() overload
Sourcefn get_limit_velocity_over_lifetime(
self,
) -> ParticleSystem_LimitVelocityOverLifetimeModule
fn get_limit_velocity_over_lifetime( self, ) -> ParticleSystem_LimitVelocityOverLifetimeModule
get_limitVelocityOverLifetime() overload
Sourcefn get_inherit_velocity(self) -> ParticleSystem_InheritVelocityModule
fn get_inherit_velocity(self) -> ParticleSystem_InheritVelocityModule
get_inheritVelocity() overload
Sourcefn get_lifetime_by_emitter_speed(
self,
) -> ParticleSystem_LifetimeByEmitterSpeedModule
fn get_lifetime_by_emitter_speed( self, ) -> ParticleSystem_LifetimeByEmitterSpeedModule
get_lifetimeByEmitterSpeed() overload
Sourcefn get_force_over_lifetime(self) -> ParticleSystem_ForceOverLifetimeModule
fn get_force_over_lifetime(self) -> ParticleSystem_ForceOverLifetimeModule
get_forceOverLifetime() overload
Sourcefn get_color_over_lifetime(self) -> ParticleSystem_ColorOverLifetimeModule
fn get_color_over_lifetime(self) -> ParticleSystem_ColorOverLifetimeModule
get_colorOverLifetime() overload
Sourcefn get_color_by_speed(self) -> ParticleSystem_ColorBySpeedModule
fn get_color_by_speed(self) -> ParticleSystem_ColorBySpeedModule
get_colorBySpeed() overload
Sourcefn get_size_over_lifetime(self) -> ParticleSystem_SizeOverLifetimeModule
fn get_size_over_lifetime(self) -> ParticleSystem_SizeOverLifetimeModule
get_sizeOverLifetime() overload
Sourcefn get_size_by_speed(self) -> ParticleSystem_SizeBySpeedModule
fn get_size_by_speed(self) -> ParticleSystem_SizeBySpeedModule
get_sizeBySpeed() overload
Sourcefn get_rotation_over_lifetime(self) -> ParticleSystem_RotationOverLifetimeModule
fn get_rotation_over_lifetime(self) -> ParticleSystem_RotationOverLifetimeModule
get_rotationOverLifetime() overload
Sourcefn get_rotation_by_speed(self) -> ParticleSystem_RotationBySpeedModule
fn get_rotation_by_speed(self) -> ParticleSystem_RotationBySpeedModule
get_rotationBySpeed() overload
Sourcefn get_external_forces(self) -> ParticleSystem_ExternalForcesModule
fn get_external_forces(self) -> ParticleSystem_ExternalForcesModule
get_externalForces() overload
Sourcefn get_noise(self) -> ParticleSystem_NoiseModule
fn get_noise(self) -> ParticleSystem_NoiseModule
get_noise() overload
Sourcefn get_collision(self) -> ParticleSystem_CollisionModule
fn get_collision(self) -> ParticleSystem_CollisionModule
get_collision() overload
Sourcefn get_trigger(self) -> ParticleSystem_TriggerModule
fn get_trigger(self) -> ParticleSystem_TriggerModule
get_trigger() overload
Sourcefn get_sub_emitters(self) -> ParticleSystem_SubEmittersModule
fn get_sub_emitters(self) -> ParticleSystem_SubEmittersModule
get_subEmitters() overload
Sourcefn get_texture_sheet_animation(
self,
) -> ParticleSystem_TextureSheetAnimationModule
fn get_texture_sheet_animation( self, ) -> ParticleSystem_TextureSheetAnimationModule
get_textureSheetAnimation() overload
Sourcefn get_lights(self) -> ParticleSystem_LightsModule
fn get_lights(self) -> ParticleSystem_LightsModule
get_lights() overload
Sourcefn get_custom_data(self) -> ParticleSystem_CustomDataModule
fn get_custom_data(self) -> ParticleSystem_CustomDataModule
get_customData() overload
Sourcefn get_particle_current_size3_d_injected(
self,
) -> (ParticleSystem_Particle, Vector3)
fn get_particle_current_size3_d_injected( self, ) -> (ParticleSystem_Particle, Vector3)
GetParticleCurrentSize3D_Injected(*mutcrate::unity_engine::particlesystem::ParticleSystem_Particle, *mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn get_particle_current_color_injected(
self,
) -> (ParticleSystem_Particle, Color32)
fn get_particle_current_color_injected( self, ) -> (ParticleSystem_Particle, Color32)
GetParticleCurrentColor_Injected(*mutcrate::unity_engine::particlesystem::ParticleSystem_Particle, *mutcrate::unity_engine::color32::Color32) overload
Sourcefn get_playback_state_injected(self) -> ParticleSystem_PlaybackState
fn get_playback_state_injected(self) -> ParticleSystem_PlaybackState
GetPlaybackState_Injected(*mutcrate::unity_engine::particlesystem::ParticleSystem_PlaybackState) overload
Sourcefn set_playback_state_injected(self) -> ParticleSystem_PlaybackState
fn set_playback_state_injected(self) -> ParticleSystem_PlaybackState
SetPlaybackState_Injected(*mutcrate::unity_engine::particlesystem::ParticleSystem_PlaybackState) overload
Sourcefn set_trails_injected(self) -> ParticleSystem_Trails
fn set_trails_injected(self) -> ParticleSystem_Trails
SetTrails_Injected(*mutcrate::unity_engine::particlesystem::ParticleSystem_Trails) overload
Sourcefn emit_injected(self, count: impl Into<i32>) -> ParticleSystem_EmitParams
fn emit_injected(self, count: impl Into<i32>) -> ParticleSystem_EmitParams
Emit_Injected(*mutcrate::unity_engine::particlesystem::ParticleSystem_EmitParams, i32) overload
Sourcefn trigger_sub_emitter_for_particle_injected(
self,
sub_emitter_index: impl Into<i32>,
) -> ParticleSystem_Particle
fn trigger_sub_emitter_for_particle_injected( self, sub_emitter_index: impl Into<i32>, ) -> ParticleSystem_Particle
TriggerSubEmitterForParticle_Injected(i32, *mutcrate::unity_engine::particlesystem::ParticleSystem_Particle) 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: IParticleSystem> IParticleSystemMethods for __T
unity_engine-particlesystem only.