Skip to main content

IParticleSystemRendererMethods

Trait IParticleSystemRendererMethods 

Source
pub trait IParticleSystemRendererMethods: IParticleSystemRenderer {
Show 62 methods // Provided methods fn enable_vertex_streams( self, streams: impl Into<ParticleSystemVertexStreams>, ) { ... } fn disable_vertex_streams( self, streams: impl Into<ParticleSystemVertexStreams>, ) { ... } fn are_vertex_streams_enabled( self, streams: impl Into<ParticleSystemVertexStreams>, ) -> bool { ... } fn get_enabled_vertex_streams( self, streams: impl Into<ParticleSystemVertexStreams>, ) -> ParticleSystemVertexStreams { ... } fn internal_set_vertex_streams( self, streams: impl Into<ParticleSystemVertexStreams>, enabled: impl Into<bool>, ) { ... } fn internal_get_enabled_vertex_streams( self, streams: impl Into<ParticleSystemVertexStreams>, ) -> ParticleSystemVertexStreams { ... } fn get_alignment(self) -> ParticleSystemRenderSpace { ... } fn set_alignment(self, value: impl Into<ParticleSystemRenderSpace>) { ... } fn get_render_mode(self) -> ParticleSystemRenderMode { ... } fn set_render_mode(self, value: impl Into<ParticleSystemRenderMode>) { ... } fn get_sort_mode(self) -> ParticleSystemSortMode { ... } fn set_sort_mode(self, value: impl Into<ParticleSystemSortMode>) { ... } fn get_length_scale(self) -> f32 { ... } fn set_length_scale(self, value: impl Into<f32>) { ... } fn get_velocity_scale(self) -> f32 { ... } fn set_velocity_scale(self, value: impl Into<f32>) { ... } fn get_camera_velocity_scale(self) -> f32 { ... } fn set_camera_velocity_scale(self, value: impl Into<f32>) { ... } fn get_normal_direction(self) -> f32 { ... } fn set_normal_direction(self, value: impl Into<f32>) { ... } fn get_shadow_bias(self) -> f32 { ... } fn set_shadow_bias(self, value: impl Into<f32>) { ... } fn get_sorting_fudge(self) -> f32 { ... } fn set_sorting_fudge(self, value: impl Into<f32>) { ... } fn get_min_particle_size(self) -> f32 { ... } fn set_min_particle_size(self, value: impl Into<f32>) { ... } fn get_max_particle_size(self) -> f32 { ... } fn set_max_particle_size(self, value: impl Into<f32>) { ... } fn get_pivot(self) -> Vector3 { ... } fn set_pivot(self, value: impl Into<Vector3>) { ... } fn get_flip(self) -> Vector3 { ... } fn set_flip(self, value: impl Into<Vector3>) { ... } fn get_mask_interaction(self) -> SpriteMaskInteraction { ... } fn set_mask_interaction(self, value: impl Into<SpriteMaskInteraction>) { ... } fn get_trail_material(self) -> Material { ... } fn set_trail_material(self, value: impl Into<Material>) { ... } fn get_enable_gpu_instancing(self) -> bool { ... } fn set_enable_gpu_instancing(self, value: impl Into<bool>) { ... } fn get_allow_roll(self) -> bool { ... } fn set_allow_roll(self, value: impl Into<bool>) { ... } fn get_freeform_stretching(self) -> bool { ... } fn set_freeform_stretching(self, value: impl Into<bool>) { ... } fn get_rotate_with_stretch_direction(self) -> bool { ... } fn set_rotate_with_stretch_direction(self, value: impl Into<bool>) { ... } fn get_mesh(self) -> Mesh { ... } fn set_mesh(self, value: impl Into<Mesh>) { ... } fn get_meshes(self, meshes: impl Into<Array<Mesh>>) -> i32 { ... } fn set_meshes(self, meshes: impl Into<Array<Mesh>>, size: impl Into<i32>) { ... } fn set_meshes_2(self, meshes: impl Into<Array<Mesh>>) { ... } fn get_mesh_count(self) -> i32 { ... } fn bake_mesh(self, mesh: impl Into<Mesh>, use_transform: impl Into<bool>) { ... } fn bake_mesh_2( self, mesh: impl Into<Mesh>, camera: impl Into<Camera>, use_transform: impl Into<bool>, ) { ... } fn bake_trails_mesh( self, mesh: impl Into<Mesh>, use_transform: impl Into<bool>, ) { ... } fn bake_trails_mesh_2( self, mesh: impl Into<Mesh>, camera: impl Into<Camera>, use_transform: impl Into<bool>, ) { ... } fn get_active_vertex_streams_count(self) -> i32 { ... } fn set_active_vertex_streams( self, streams: impl Into<List_1<ParticleSystemVertexStream>>, ) { ... } fn get_active_vertex_streams( self, streams: impl Into<List_1<ParticleSystemVertexStream>>, ) { ... } fn ctor(self) { ... } fn get_pivot_injected(self) -> Vector3 { ... } fn set_pivot_injected(self) -> Vector3 { ... } fn get_flip_injected(self) -> Vector3 { ... } fn set_flip_injected(self) -> Vector3 { ... }
}

Provided Methods§

Source

fn enable_vertex_streams(self, streams: impl Into<ParticleSystemVertexStreams>)

EnableVertexStreams(crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams) overload

Source

fn disable_vertex_streams(self, streams: impl Into<ParticleSystemVertexStreams>)

DisableVertexStreams(crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams) overload

Source

fn are_vertex_streams_enabled( self, streams: impl Into<ParticleSystemVertexStreams>, ) -> bool

AreVertexStreamsEnabled(crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams) overload

Source

fn get_enabled_vertex_streams( self, streams: impl Into<ParticleSystemVertexStreams>, ) -> ParticleSystemVertexStreams

GetEnabledVertexStreams(crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams) overload

Source

fn internal_set_vertex_streams( self, streams: impl Into<ParticleSystemVertexStreams>, enabled: impl Into<bool>, )

Internal_SetVertexStreams(crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams, bool) overload

Source

fn internal_get_enabled_vertex_streams( self, streams: impl Into<ParticleSystemVertexStreams>, ) -> ParticleSystemVertexStreams

Internal_GetEnabledVertexStreams(crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams) overload

Source

fn get_alignment(self) -> ParticleSystemRenderSpace

get_alignment() overload

Source

fn set_alignment(self, value: impl Into<ParticleSystemRenderSpace>)

set_alignment(crate::unity_engine::particlesystemrenderspace::ParticleSystemRenderSpace) overload

Source

fn get_render_mode(self) -> ParticleSystemRenderMode

get_renderMode() overload

Source

fn set_render_mode(self, value: impl Into<ParticleSystemRenderMode>)

set_renderMode(crate::unity_engine::particlesystemrendermode::ParticleSystemRenderMode) overload

Source

fn get_sort_mode(self) -> ParticleSystemSortMode

get_sortMode() overload

Source

fn set_sort_mode(self, value: impl Into<ParticleSystemSortMode>)

set_sortMode(crate::unity_engine::particlesystemsortmode::ParticleSystemSortMode) overload

Source

fn get_length_scale(self) -> f32

get_lengthScale() overload

Source

fn set_length_scale(self, value: impl Into<f32>)

set_lengthScale(f32) overload

Source

fn get_velocity_scale(self) -> f32

get_velocityScale() overload

Source

fn set_velocity_scale(self, value: impl Into<f32>)

set_velocityScale(f32) overload

Source

fn get_camera_velocity_scale(self) -> f32

get_cameraVelocityScale() overload

Source

fn set_camera_velocity_scale(self, value: impl Into<f32>)

set_cameraVelocityScale(f32) overload

Source

fn get_normal_direction(self) -> f32

get_normalDirection() overload

Source

fn set_normal_direction(self, value: impl Into<f32>)

set_normalDirection(f32) overload

Source

fn get_shadow_bias(self) -> f32

get_shadowBias() overload

Source

fn set_shadow_bias(self, value: impl Into<f32>)

set_shadowBias(f32) overload

Source

fn get_sorting_fudge(self) -> f32

get_sortingFudge() overload

Source

fn set_sorting_fudge(self, value: impl Into<f32>)

set_sortingFudge(f32) overload

Source

fn get_min_particle_size(self) -> f32

get_minParticleSize() overload

Source

fn set_min_particle_size(self, value: impl Into<f32>)

set_minParticleSize(f32) overload

Source

fn get_max_particle_size(self) -> f32

get_maxParticleSize() overload

Source

fn set_max_particle_size(self, value: impl Into<f32>)

set_maxParticleSize(f32) overload

Source

fn get_pivot(self) -> Vector3

get_pivot() overload

Source

fn set_pivot(self, value: impl Into<Vector3>)

set_pivot(crate::unity_engine::vector3::Vector3) overload

Source

fn get_flip(self) -> Vector3

get_flip() overload

Source

fn set_flip(self, value: impl Into<Vector3>)

set_flip(crate::unity_engine::vector3::Vector3) overload

Source

fn get_mask_interaction(self) -> SpriteMaskInteraction

get_maskInteraction() overload

Source

fn set_mask_interaction(self, value: impl Into<SpriteMaskInteraction>)

set_maskInteraction(crate::unity_engine::spritemaskinteraction::SpriteMaskInteraction) overload

Source

fn get_trail_material(self) -> Material

get_trailMaterial() overload

Source

fn set_trail_material(self, value: impl Into<Material>)

set_trailMaterial(crate::unity_engine::material::Material) overload

Source

fn get_enable_gpu_instancing(self) -> bool

get_enableGPUInstancing() overload

Source

fn set_enable_gpu_instancing(self, value: impl Into<bool>)

set_enableGPUInstancing(bool) overload

Source

fn get_allow_roll(self) -> bool

get_allowRoll() overload

Source

fn set_allow_roll(self, value: impl Into<bool>)

set_allowRoll(bool) overload

Source

fn get_freeform_stretching(self) -> bool

get_freeformStretching() overload

Source

fn set_freeform_stretching(self, value: impl Into<bool>)

set_freeformStretching(bool) overload

Source

fn get_rotate_with_stretch_direction(self) -> bool

get_rotateWithStretchDirection() overload

Source

fn set_rotate_with_stretch_direction(self, value: impl Into<bool>)

set_rotateWithStretchDirection(bool) overload

Source

fn get_mesh(self) -> Mesh

get_mesh() overload

Source

fn set_mesh(self, value: impl Into<Mesh>)

set_mesh(crate::unity_engine::mesh::Mesh) overload

Source

fn get_meshes(self, meshes: impl Into<Array<Mesh>>) -> i32

GetMeshes(::unity::Array<crate::unity_engine::mesh::Mesh>) overload

Source

fn set_meshes(self, meshes: impl Into<Array<Mesh>>, size: impl Into<i32>)

SetMeshes(::unity::Array<crate::unity_engine::mesh::Mesh>, i32) overload

Source

fn set_meshes_2(self, meshes: impl Into<Array<Mesh>>)

SetMeshes(::unity::Array<crate::unity_engine::mesh::Mesh>) overload

Source

fn get_mesh_count(self) -> i32

get_meshCount() overload

Source

fn bake_mesh(self, mesh: impl Into<Mesh>, use_transform: impl Into<bool>)

BakeMesh(crate::unity_engine::mesh::Mesh, bool) overload

Source

fn bake_mesh_2( self, mesh: impl Into<Mesh>, camera: impl Into<Camera>, use_transform: impl Into<bool>, )

BakeMesh(crate::unity_engine::mesh::Mesh, crate::unity_engine::camera::Camera, bool) overload

Source

fn bake_trails_mesh(self, mesh: impl Into<Mesh>, use_transform: impl Into<bool>)

BakeTrailsMesh(crate::unity_engine::mesh::Mesh, bool) overload

Source

fn bake_trails_mesh_2( self, mesh: impl Into<Mesh>, camera: impl Into<Camera>, use_transform: impl Into<bool>, )

BakeTrailsMesh(crate::unity_engine::mesh::Mesh, crate::unity_engine::camera::Camera, bool) overload

Source

fn get_active_vertex_streams_count(self) -> i32

get_activeVertexStreamsCount() overload

Source

fn set_active_vertex_streams( self, streams: impl Into<List_1<ParticleSystemVertexStream>>, )

SetActiveVertexStreams(crate::system::collections::generic::list_1::List_1<crate::unity_engine::particlesystemvertexstream::ParticleSystemVertexStream>) overload

Source

fn get_active_vertex_streams( self, streams: impl Into<List_1<ParticleSystemVertexStream>>, )

GetActiveVertexStreams(crate::system::collections::generic::list_1::List_1<crate::unity_engine::particlesystemvertexstream::ParticleSystemVertexStream>) overload

Source

fn ctor(self)

.ctor() overload

Source

fn get_pivot_injected(self) -> Vector3

get_pivot_Injected(*mutcrate::unity_engine::vector3::Vector3) overload

Source

fn set_pivot_injected(self) -> Vector3

set_pivot_Injected(*mutcrate::unity_engine::vector3::Vector3) overload

Source

fn get_flip_injected(self) -> Vector3

get_flip_Injected(*mutcrate::unity_engine::vector3::Vector3) overload

Source

fn set_flip_injected(self) -> Vector3

set_flip_Injected(*mutcrate::unity_engine::vector3::Vector3) 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: IParticleSystemRenderer> IParticleSystemRendererMethods for __T

Available on crate feature unity_engine-particlesystemrenderer only.