Class ParticleModuleSpawnPerUnit
Particle Module Spawn Per Unit
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.Engine
Assembly: UE4DotNet.dll
Syntax
public class ParticleModuleSpawnPerUnit : ParticleModuleSpawnBase
Properties
| Improve this Doc View SourcebIgnoreMovementAlongX
Declaration
public bool bIgnoreMovementAlongX { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
bIgnoreMovementAlongY
Declaration
public bool bIgnoreMovementAlongY { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
bIgnoreMovementAlongZ
Declaration
public bool bIgnoreMovementAlongZ { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
bIgnoreSpawnRateWhenMoving
Declaration
public bool bIgnoreSpawnRateWhenMoving { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static ParticleModuleSpawnPerUnit DefaultObject { get; }
Property Value
| Type | Description |
|---|---|
| ParticleModuleSpawnPerUnit |
MaxFrameDistance
The maximum valid movement for a single frame.
Declaration
public float MaxFrameDistance { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Remarks
If 0.0, then the check is not performed. Currently, if the distance moved between frames is greater than this then NO particles will be spawned. This is primiarily intended to cover cases where the PSystem is attached to teleporting objects.
MovementTolerance
Declaration
public float MovementTolerance { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
SpawnPerUnit
The amount to spawn per meter distribution.
Declaration
public RawDistributionFloat SpawnPerUnit { get; set; }
Property Value
| Type | Description |
|---|---|
| RawDistributionFloat |
Remarks
The value is retrieved using the EmitterTime.
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
| Type | Description |
|---|---|
| Class |
UnitScalar
The scalar to apply to the distance traveled.
Declaration
public float UnitScalar { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Remarks
The value from SpawnPerUnit is divided by this value to give the actual number of particles per unit.
Methods
| Improve this Doc View SourceNew(UObject, Name)
Spawn an object of this class
Declaration
public static ParticleModuleSpawnPerUnit New(UObject obj = null, Name name = default(Name))
Parameters
| Type | Name | Description |
|---|---|---|
| UObject | obj | |
| Name | name |
Returns
| Type | Description |
|---|---|
| ParticleModuleSpawnPerUnit |
Operators
| Improve this Doc View SourceImplicit(IntPtr to ParticleModuleSpawnPerUnit)
Convert from IntPtr to UObject
Declaration
public static implicit operator ParticleModuleSpawnPerUnit(IntPtr p)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IntPtr | p |
Returns
| Type | Description |
|---|---|
| ParticleModuleSpawnPerUnit |