Properties
Private _angle
_angle: number = toRadian(25)
Private _arc
_arc: number = toRadian(360)
Private _enable
_enable: boolean = false
Private _position
_position
: Vec3 = new Vec3(0, 0, 0)
Private _rotation
_rotation
: Vec3 = new Vec3(0, 0, 0)
Private _scale
_scale
: Vec3 = new Vec3(1, 1, 1)
_shapeType
_shapeType: number = ShapeType.Cone
alignToDirection
alignToDirection: boolean = false
arcMode
arcMode: number = ArcMode.Random
arcSpeed
arcSpeed: CurveRange = new CurveRange()
arcSpread
arcSpread: number = 0
boxThickness
box
Thickness: Vec3 = new Vec3(0, 0, 0)
emitFrom
emitFrom: number = EmitLocation.Volume
Private lastTime
lastTime: number
length
length: number = 5
Private particleSystem
particleSystem: any
radius
radius: number = 1
radiusThickness
radiusThickness: number = 1
randomDirectionAmount
randomDirectionAmount: number = 0
randomPositionAmount
randomPositionAmount: number = 0
sphericalDirectionAmount
sphericalDirectionAmount: number = 0
Private totalAngle
totalAngle: number
粒子发射器类型 ShapeType。