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§
Sourcefn enable_vertex_streams(self, streams: impl Into<ParticleSystemVertexStreams>)
fn enable_vertex_streams(self, streams: impl Into<ParticleSystemVertexStreams>)
EnableVertexStreams(crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams) overload
Sourcefn disable_vertex_streams(self, streams: impl Into<ParticleSystemVertexStreams>)
fn disable_vertex_streams(self, streams: impl Into<ParticleSystemVertexStreams>)
DisableVertexStreams(crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams) overload
Sourcefn are_vertex_streams_enabled(
self,
streams: impl Into<ParticleSystemVertexStreams>,
) -> bool
fn are_vertex_streams_enabled( self, streams: impl Into<ParticleSystemVertexStreams>, ) -> bool
AreVertexStreamsEnabled(crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams) overload
Sourcefn get_enabled_vertex_streams(
self,
streams: impl Into<ParticleSystemVertexStreams>,
) -> ParticleSystemVertexStreams
fn get_enabled_vertex_streams( self, streams: impl Into<ParticleSystemVertexStreams>, ) -> ParticleSystemVertexStreams
GetEnabledVertexStreams(crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams) overload
Sourcefn internal_set_vertex_streams(
self,
streams: impl Into<ParticleSystemVertexStreams>,
enabled: impl Into<bool>,
)
fn internal_set_vertex_streams( self, streams: impl Into<ParticleSystemVertexStreams>, enabled: impl Into<bool>, )
Internal_SetVertexStreams(crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams, bool) overload
Sourcefn internal_get_enabled_vertex_streams(
self,
streams: impl Into<ParticleSystemVertexStreams>,
) -> ParticleSystemVertexStreams
fn internal_get_enabled_vertex_streams( self, streams: impl Into<ParticleSystemVertexStreams>, ) -> ParticleSystemVertexStreams
Internal_GetEnabledVertexStreams(crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams) overload
Sourcefn get_alignment(self) -> ParticleSystemRenderSpace
fn get_alignment(self) -> ParticleSystemRenderSpace
get_alignment() overload
Sourcefn set_alignment(self, value: impl Into<ParticleSystemRenderSpace>)
fn set_alignment(self, value: impl Into<ParticleSystemRenderSpace>)
set_alignment(crate::unity_engine::particlesystemrenderspace::ParticleSystemRenderSpace) overload
Sourcefn get_render_mode(self) -> ParticleSystemRenderMode
fn get_render_mode(self) -> ParticleSystemRenderMode
get_renderMode() overload
Sourcefn set_render_mode(self, value: impl Into<ParticleSystemRenderMode>)
fn set_render_mode(self, value: impl Into<ParticleSystemRenderMode>)
set_renderMode(crate::unity_engine::particlesystemrendermode::ParticleSystemRenderMode) overload
Sourcefn get_sort_mode(self) -> ParticleSystemSortMode
fn get_sort_mode(self) -> ParticleSystemSortMode
get_sortMode() overload
Sourcefn set_sort_mode(self, value: impl Into<ParticleSystemSortMode>)
fn set_sort_mode(self, value: impl Into<ParticleSystemSortMode>)
set_sortMode(crate::unity_engine::particlesystemsortmode::ParticleSystemSortMode) overload
Sourcefn get_length_scale(self) -> f32
fn get_length_scale(self) -> f32
get_lengthScale() overload
Sourcefn set_length_scale(self, value: impl Into<f32>)
fn set_length_scale(self, value: impl Into<f32>)
set_lengthScale(f32) overload
Sourcefn get_velocity_scale(self) -> f32
fn get_velocity_scale(self) -> f32
get_velocityScale() overload
Sourcefn set_velocity_scale(self, value: impl Into<f32>)
fn set_velocity_scale(self, value: impl Into<f32>)
set_velocityScale(f32) overload
Sourcefn get_camera_velocity_scale(self) -> f32
fn get_camera_velocity_scale(self) -> f32
get_cameraVelocityScale() overload
Sourcefn set_camera_velocity_scale(self, value: impl Into<f32>)
fn set_camera_velocity_scale(self, value: impl Into<f32>)
set_cameraVelocityScale(f32) overload
Sourcefn get_normal_direction(self) -> f32
fn get_normal_direction(self) -> f32
get_normalDirection() overload
Sourcefn set_normal_direction(self, value: impl Into<f32>)
fn set_normal_direction(self, value: impl Into<f32>)
set_normalDirection(f32) overload
Sourcefn get_shadow_bias(self) -> f32
fn get_shadow_bias(self) -> f32
get_shadowBias() overload
Sourcefn set_shadow_bias(self, value: impl Into<f32>)
fn set_shadow_bias(self, value: impl Into<f32>)
set_shadowBias(f32) overload
Sourcefn get_sorting_fudge(self) -> f32
fn get_sorting_fudge(self) -> f32
get_sortingFudge() overload
Sourcefn set_sorting_fudge(self, value: impl Into<f32>)
fn set_sorting_fudge(self, value: impl Into<f32>)
set_sortingFudge(f32) overload
Sourcefn get_min_particle_size(self) -> f32
fn get_min_particle_size(self) -> f32
get_minParticleSize() overload
Sourcefn set_min_particle_size(self, value: impl Into<f32>)
fn set_min_particle_size(self, value: impl Into<f32>)
set_minParticleSize(f32) overload
Sourcefn get_max_particle_size(self) -> f32
fn get_max_particle_size(self) -> f32
get_maxParticleSize() overload
Sourcefn set_max_particle_size(self, value: impl Into<f32>)
fn set_max_particle_size(self, value: impl Into<f32>)
set_maxParticleSize(f32) overload
Sourcefn set_pivot(self, value: impl Into<Vector3>)
fn set_pivot(self, value: impl Into<Vector3>)
set_pivot(crate::unity_engine::vector3::Vector3) overload
Sourcefn set_flip(self, value: impl Into<Vector3>)
fn set_flip(self, value: impl Into<Vector3>)
set_flip(crate::unity_engine::vector3::Vector3) overload
Sourcefn get_mask_interaction(self) -> SpriteMaskInteraction
fn get_mask_interaction(self) -> SpriteMaskInteraction
get_maskInteraction() overload
Sourcefn set_mask_interaction(self, value: impl Into<SpriteMaskInteraction>)
fn set_mask_interaction(self, value: impl Into<SpriteMaskInteraction>)
set_maskInteraction(crate::unity_engine::spritemaskinteraction::SpriteMaskInteraction) overload
Sourcefn get_trail_material(self) -> Material
fn get_trail_material(self) -> Material
get_trailMaterial() overload
Sourcefn set_trail_material(self, value: impl Into<Material>)
fn set_trail_material(self, value: impl Into<Material>)
set_trailMaterial(crate::unity_engine::material::Material) overload
Sourcefn get_enable_gpu_instancing(self) -> bool
fn get_enable_gpu_instancing(self) -> bool
get_enableGPUInstancing() overload
Sourcefn set_enable_gpu_instancing(self, value: impl Into<bool>)
fn set_enable_gpu_instancing(self, value: impl Into<bool>)
set_enableGPUInstancing(bool) overload
Sourcefn get_allow_roll(self) -> bool
fn get_allow_roll(self) -> bool
get_allowRoll() overload
Sourcefn set_allow_roll(self, value: impl Into<bool>)
fn set_allow_roll(self, value: impl Into<bool>)
set_allowRoll(bool) overload
Sourcefn get_freeform_stretching(self) -> bool
fn get_freeform_stretching(self) -> bool
get_freeformStretching() overload
Sourcefn set_freeform_stretching(self, value: impl Into<bool>)
fn set_freeform_stretching(self, value: impl Into<bool>)
set_freeformStretching(bool) overload
Sourcefn get_rotate_with_stretch_direction(self) -> bool
fn get_rotate_with_stretch_direction(self) -> bool
get_rotateWithStretchDirection() overload
Sourcefn set_rotate_with_stretch_direction(self, value: impl Into<bool>)
fn set_rotate_with_stretch_direction(self, value: impl Into<bool>)
set_rotateWithStretchDirection(bool) overload
Sourcefn get_meshes(self, meshes: impl Into<Array<Mesh>>) -> i32
fn get_meshes(self, meshes: impl Into<Array<Mesh>>) -> i32
GetMeshes(::unity::Array<crate::unity_engine::mesh::Mesh>) overload
Sourcefn set_meshes(self, meshes: impl Into<Array<Mesh>>, size: impl Into<i32>)
fn set_meshes(self, meshes: impl Into<Array<Mesh>>, size: impl Into<i32>)
SetMeshes(::unity::Array<crate::unity_engine::mesh::Mesh>, i32) overload
Sourcefn set_meshes_2(self, meshes: impl Into<Array<Mesh>>)
fn set_meshes_2(self, meshes: impl Into<Array<Mesh>>)
SetMeshes(::unity::Array<crate::unity_engine::mesh::Mesh>) overload
Sourcefn get_mesh_count(self) -> i32
fn get_mesh_count(self) -> i32
get_meshCount() overload
Sourcefn bake_mesh(self, mesh: impl Into<Mesh>, use_transform: impl Into<bool>)
fn bake_mesh(self, mesh: impl Into<Mesh>, use_transform: impl Into<bool>)
BakeMesh(crate::unity_engine::mesh::Mesh, bool) overload
Sourcefn bake_mesh_2(
self,
mesh: impl Into<Mesh>,
camera: impl Into<Camera>,
use_transform: impl Into<bool>,
)
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
Sourcefn bake_trails_mesh(self, mesh: impl Into<Mesh>, use_transform: impl Into<bool>)
fn bake_trails_mesh(self, mesh: impl Into<Mesh>, use_transform: impl Into<bool>)
BakeTrailsMesh(crate::unity_engine::mesh::Mesh, bool) overload
Sourcefn bake_trails_mesh_2(
self,
mesh: impl Into<Mesh>,
camera: impl Into<Camera>,
use_transform: impl Into<bool>,
)
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
Sourcefn get_active_vertex_streams_count(self) -> i32
fn get_active_vertex_streams_count(self) -> i32
get_activeVertexStreamsCount() overload
Sourcefn set_active_vertex_streams(
self,
streams: impl Into<List_1<ParticleSystemVertexStream>>,
)
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
Sourcefn get_active_vertex_streams(
self,
streams: impl Into<List_1<ParticleSystemVertexStream>>,
)
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
Sourcefn get_pivot_injected(self) -> Vector3
fn get_pivot_injected(self) -> Vector3
get_pivot_Injected(*mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn set_pivot_injected(self) -> Vector3
fn set_pivot_injected(self) -> Vector3
set_pivot_Injected(*mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn get_flip_injected(self) -> Vector3
fn get_flip_injected(self) -> Vector3
get_flip_Injected(*mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn set_flip_injected(self) -> Vector3
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§
impl<__T: IParticleSystemRenderer> IParticleSystemRendererMethods for __T
unity_engine-particlesystemrenderer only.