PlayCanvasSceneCreator 1.0.9
Loading...
Searching...
No Matches
Playcanvas.Properties.ParticleSystem Class Reference

Public Attributes

bool enabled
 
bool autoPlay
 
See also
UnityProperties.UnityEngine.ParticleSystem.MainModule.playOnAwake

 
int numParticles
 
See also
UnityProperties.UnityEngine.ParticleSystem.MainModule.maxParticles

 
float lifetime
 
See also
UnityProperties.UnityEngine.ParticleSystem.MainModule.startLifetimeMultiplier

 
float rate
 
See also
UnityProperties.UnityEngine.ParticleSystem.EmissionModule

 
float rate2
 
See also
UnityProperties.UnityEngine.ParticleSystem.EmissionModule

 
bool loop
 
See also
UnityProperties.UnityEngine.ParticleSystem.MainModule.loop

 
bool preWarm
 
See also
UnityProperties.UnityEngine.ParticleSystem.MainModule.prewarm

 
bool depthWrite = false
 
See also
UnityProperties.UnityEngine.ParticleSystemRenderer

 
int sort = 0
 
See also
UnityProperties.UnityEngine.ParticleSystemRenderer.sortMode

 
int emitterShape = 0
 
See also
UnityProperties.UnityEngine.ParticleSystem.ShapeModule.shapeType

 
float[] emitterExtents = new float[3] { 0,0,0}
 
See also
UnityProperties.UnityEngine.ParticleSystem.ShapeModule.scale

 
float orientation = 0
 
See also
UnityProperties.UnityEngine.ParticleSystemRenderer.alignment

 
float emitterRadius = 0
 
See also
UnityProperties.UnityEngine.ParticleSystem.ShapeModule.radius

 
float emitterRadiusInner = 0
 
See also
UnityProperties.UnityEngine.ParticleSystem.ShapeModule.radiusThickness

 
string colorMapAsset = "null"
 
See also
UnityProperties.UnityEngine.ParticleSystem.TextureSheetAnimationModule, UnityProperties.UnityEngine.ParticleSystemRenderer.alignment



 
string renderAsset = "null"
 
See also
UnityProperties.UnityEngine.ParticleSystemRenderer.mesh

 
bool localSpace = false
 
See also
UnityProperties.UnityEngine.ParticleSystem.MainModule.simulationSpace

 
CurveSet localVelocityGraph
 
See also
UnityProperties.UnityEngine.ParticleSystem.VelocityOverLifetimeModule

 
CurveSet localVelocityGraph2
 
See also
UnityProperties.UnityEngine.ParticleSystem.VelocityOverLifetimeModule

 
CurveSet velocityGraph
 
See also
UnityProperties.UnityEngine.ParticleSystem.VelocityOverLifetimeModule

 
CurveSet velocityGraph2
 
See also
UnityProperties.UnityEngine.ParticleSystem.VelocityOverLifetimeModule

 
Curve radialSpeedGraph
 
See also
UnityProperties.UnityEngine.ParticleSystem.MainModule.startSpeed

 
Curve radialSpeedGraph2
 
See also
UnityProperties.UnityEngine.ParticleSystem.MainModule.startSpeed

 
Curve rotationSpeedGraph
 
See also
UnityProperties.UnityEngine.ParticleSystem.RotationOverLifetimeModule, UnityProperties.UnityEngine.ParticleSystem.MainModule.startRotation

 
Curve rotationSpeedGraph2
 
See also
UnityProperties.UnityEngine.ParticleSystem.RotationOverLifetimeModule, UnityProperties.UnityEngine.ParticleSystem.MainModule.startRotation

 
Curve scaleGraph
 
See also
UnityProperties.UnityEngine.ParticleSystem.SizeOverLifetimeModule, UnityProperties.UnityEngine.ParticleSystem.MainModule.startSize

 
Curve scaleGraph2
 
See also
UnityProperties.UnityEngine.ParticleSystem.SizeOverLifetimeModule, UnityProperties.UnityEngine.ParticleSystem.MainModule.startSize

 
CurveSet colorGraph
 
See also
UnityProperties.UnityEngine.ParticleSystem.MainModule.startColor, UnityProperties.UnityEngine.ParticleSystem.ColorOverLifetimeModule, UnityProperties.UnityEngine.GradientColorKey



 
Curve alphaGraph
 
See also
UnityProperties.UnityEngine.ParticleSystem.MainModule.startColor, UnityProperties.UnityEngine.ParticleSystem.ColorOverLifetimeModule, UnityProperties.UnityEngine.GradientAlphaKey



 
Curve alphaGraph2
 
See also
UnityProperties.UnityEngine.ParticleSystem.MainModule.startColor, UnityProperties.UnityEngine.ParticleSystem.ColorOverLifetimeModule, UnityProperties.UnityEngine.GradientAlphaKey



 
List< int > layers = new List<int>() { 0 }
 
See also
UnityProperties.UnityEngine.GameObject.layer

 

Detailed Description

Member Data Documentation

◆ alphaGraph

Curve Playcanvas.Properties.ParticleSystem.alphaGraph

See also
UnityProperties.UnityEngine.ParticleSystem.MainModule.startColor, UnityProperties.UnityEngine.ParticleSystem.ColorOverLifetimeModule, UnityProperties.UnityEngine.GradientAlphaKey


alphaGraph use startColor, and mix with ColorOverLifetime when it's enable
type = UnityProperties.UnityEngine.ParticleSystem.ColorOverLifetimeModule.color.gradient.mode == GradientMode.Blend ? 0 : 5

◆ colorGraph

CurveSet Playcanvas.Properties.ParticleSystem.colorGraph

See also
UnityProperties.UnityEngine.ParticleSystem.MainModule.startColor, UnityProperties.UnityEngine.ParticleSystem.ColorOverLifetimeModule, UnityProperties.UnityEngine.GradientColorKey


colorGraph use startColor, and mix with ColorOverLifetime when it's enable
type = UnityProperties.UnityEngine.ParticleSystem.ColorOverLifetimeModule.color.gradient.mode == GradientMode.Blend ? 0 : 5

◆ colorMapAsset

string Playcanvas.Properties.ParticleSystem.colorMapAsset = "null"

See also
UnityProperties.UnityEngine.ParticleSystem.TextureSheetAnimationModule, UnityProperties.UnityEngine.ParticleSystemRenderer.alignment


textureSheetAnimation.GetSprite(0)
ParticleSystemRenderer.sharedMaterial.GetTexture("_MainTex")

◆ depthWrite

bool Playcanvas.Properties.ParticleSystem.depthWrite = false

◆ emitterShape

int Playcanvas.Properties.ParticleSystem.emitterShape = 0

See also
UnityProperties.UnityEngine.ParticleSystem.ShapeModule.shapeType

case ParticleSystemShapeType.Sphere:
case ParticleSystemShapeType.Hemisphere:
case ParticleSystemShapeType.Cone:
case ParticleSystemShapeType.Donut:
case ParticleSystemShapeType.Circle:
emitterShape = 1;
break;
default:
emitterShape = 0;
break;

◆ numParticles

int Playcanvas.Properties.ParticleSystem.numParticles

◆ orientation

float Playcanvas.Properties.ParticleSystem.orientation = 0

See also
UnityProperties.UnityEngine.ParticleSystemRenderer.alignment

case ParticleSystemRenderSpace.View:
case ParticleSystemRenderSpace.Facing:
orientation = 0;
break;
case ParticleSystemRenderSpace.World:
case ParticleSystemRenderSpace.Local:
orientation = 1;
break;
case ParticleSystemRenderSpace.Velocity:
orientation = 2;
break;
default: orientation = 0;
break;