|
Zibra Effects
Real-time Simulated Visual Effects
|
Modifies particle species of particles. More...
Public Types | |
| enum | InteractionMode { AllParticleSpecies , OnlySelectedParticleSpecies , ExceptSelectedParticleSpecies } |
| See CurrentInteractionMode. More... | |
| enum | ManipulatorType { Emitter , Void , ForceField , AnalyticCollider , NeuralCollider , GroupCollider , Detector , SpeciesModifier , HeightmapCollider , TypeNum } |
| Manipulator types. More... | |
Public Member Functions | |
| override ManipulatorType | GetManipulatorType () |
| Returns manipulator type. | |
| override Color | GetGizmosColor () |
| (Editor only) Returns gizmo color that should be used with current manipulator. | |
| void | NotifyChange () |
| (Editor only) Triggers custom editor update. | |
Public Attributes | |
| int | TargetSpecie = 0 |
| New specie particles will get. | |
| float | Probability = 1.0f |
| Probability of change per frame. | |
| InteractionMode | CurrentInteractionMode = InteractionMode.AllParticleSpecies |
| Defines which particle species will interact with manipulator. | |
| int | ParticleSpecies = 0 |
| Selects particle species for CurrentInteractionMode. | |
Static Public Attributes | |
| static readonly List< Manipulator > | AllManipulators = new List<Manipulator>() |
| List of all enabled manipulators. | |
Events | |
| Action | OnChanged |
| (Editor only) Event that is triggered when state of manipulator changes to trigger update of custom editor. | |
Modifies particle species of particles.
Particle that enters species modifiers shape, changes its species to selected one.
|
inherited |
See CurrentInteractionMode.
|
inherited |
Manipulator types.
|
inlinevirtual |
Returns manipulator type.
Implements Manipulator.
|
inlinevirtual |
(Editor only) Returns gizmo color that should be used with current manipulator.
This is needed since SDFs can be used with any manipulators, but we don't want SDFs to draw gizmos in same color for different types of manipulators.
Implements Manipulator.
|
inlineinherited |
(Editor only) Triggers custom editor update.
Just triggers OnChanged.
| int TargetSpecie = 0 |
New specie particles will get.
| float Probability = 1.0f |
Probability of change per frame.
|
staticinherited |
List of all enabled manipulators.
|
inherited |
Defines which particle species will interact with manipulator.
|
inherited |
Selects particle species for CurrentInteractionMode.
Has no effect when CurrentInteractionMode is set to AllParticleSpecies.
|
inherited |
(Editor only) Event that is triggered when state of manipulator changes to trigger update of custom editor.
This is only intended to update custom editors, You can trigger it when you change some state to update custom editor. But using it for anything else is a bad idea.