Class ParticleEmitterPreview
Particle Emitter asset preview editor viewport.
Inheritance
System.Object
FlaxEngine.GUI.RenderOutputControl
ParticleEmitterPreview
Implements
System.IComparable
Namespace: FlaxEditor.Viewport.Previews
Assembly: FlaxEngine.CSharp.dll
Syntax
public class ParticleEmitterPreview : ParticleSystemPreview, IComparable, IDrawable, IEditorPrimitivesOwner
Constructors
ParticleEmitterPreview(Boolean)
Initializes a new instance of the ParticleEmitterPreview class.
Declaration
public ParticleEmitterPreview(bool useWidgets)
Parameters
System.Boolean
useWidgets
if set to |
Properties
Emitter
Gets or sets the particle emitter asset to preview.
Declaration
public ParticleEmitter Emitter { get; set; }
Property Value
ParticleEmitter
|
HasLoadedAssets
Gets a value indicating whether this viewport has loaded dependant assets.
Declaration
public override bool HasLoadedAssets { get; }
Property Value
System.Boolean
|
Overrides
PlaybackDuration
Gets or sets the duration of the emitter playback (in seconds).
Declaration
public float PlaybackDuration { get; set; }
Property Value
System.Single
|