noiseScale
TypeScriptget noiseScale(): numberSwift declarationvar noiseScale: FloatScale of the noise (turbulence) patterns. Defaults to 1.
struct · iOS 18.0+ · SDK 27.1
struct ParticleEmitterget noiseScale(): numberSwift declarationvar noiseScale: FloatScale of the noise (turbulence) patterns. Defaults to 1.
set noiseScale(value: number)Swift declarationvar noiseScale: FloatScale of the noise (turbulence) patterns. Defaults to 1.
get acceleration(): SDKHandleSwift declarationvar acceleration: SIMD3<Float>The constant acceleration vector, in meters per second squared, applied to all particles in the system.
set acceleration(value: SDKHandle)Swift declarationvar acceleration: SIMD3<Float>The constant acceleration vector, in meters per second squared, applied to all particles in the system.
get angularSpeed(): numberSwift declarationvar angularSpeed: FloatThe initial spin rate, in radians per second, of newly spawned particles. Defaults to 0.
set angularSpeed(value: number)Swift declarationvar angularSpeed: FloatThe initial spin rate, in radians per second, of newly spawned particles. Defaults to 0.
get opacityCurve(): ParticleEmitterComponent_ParticleEmitter_OpacityCurveSwift declarationvar opacityCurve: ParticleEmitterComponent.ParticleEmitter.OpacityCurveThe curve of opacity change over the lifetime of the particle. Defaults to `quickFadeInOut`.
set opacityCurve(value: ParticleEmitterComponent_ParticleEmitter_OpacityCurve)Swift declarationvar opacityCurve: ParticleEmitterComponent.ParticleEmitter.OpacityCurveThe curve of opacity change over the lifetime of the particle. Defaults to `quickFadeInOut`.
get billboardMode(): ParticleEmitterComponent_ParticleEmitter_BillboardModeSwift declarationvar billboardMode: ParticleEmitterComponent.ParticleEmitter.BillboardModeThe mode defining whether and how particles orient towards the camera. Defaults to `billboardYAligned`.
set billboardMode(value: ParticleEmitterComponent_ParticleEmitter_BillboardMode)Swift declarationvar billboardMode: ParticleEmitterComponent.ParticleEmitter.BillboardModeThe mode defining whether and how particles orient towards the camera. Defaults to `billboardYAligned`.
get dampingFactor(): numberSwift declarationvar dampingFactor: FloatA factor that slows particles relative to their velocity. Defaults to 0.
set dampingFactor(value: number)Swift declarationvar dampingFactor: FloatA factor that slows particles relative to their velocity. Defaults to 0.
get imageSequence(): (ParticleEmitterComponent_ParticleEmitter_ImageSequence) | nullSwift declarationvar imageSequence: ParticleEmitterComponent.ParticleEmitter.ImageSequence?Determines if the particle image is a sprite sheet (used for animation).
set imageSequence(value: (ParticleEmitterComponent_ParticleEmitter_ImageSequence) | null)Swift declarationvar imageSequence: ParticleEmitterComponent.ParticleEmitter.ImageSequence?Determines if the particle image is a sprite sheet (used for animation).
get massVariation(): numberSwift declarationvar massVariation: FloatDefines a plus/minus range (in grams) from which a value is randomly selected to offset `mass`.
set massVariation(value: number)Swift declarationvar massVariation: FloatDefines a plus/minus range (in grams) from which a value is randomly selected to offset `mass`.
get noiseStrength(): numberSwift declarationvar noiseStrength: FloatStrength of the noise (turbulence) fields affecting particle motion. Defaults to 0.
set noiseStrength(value: number)Swift declarationvar noiseStrength: FloatStrength of the noise (turbulence) fields affecting particle motion. Defaults to 0.
get sizeVariation(): numberSwift declarationvar sizeVariation: FloatDefines a plus/minus range from which a value is randomly selected to offset `size`.
set sizeVariation(value: number)Swift declarationvar sizeVariation: FloatDefines a plus/minus range from which a value is randomly selected to offset `size`.
get stretchFactor(): numberSwift declarationvar stretchFactor: FloatHow much a particle's shape is stretched along its velocity direction (Billboard particles only).
set stretchFactor(value: number)Swift declarationvar stretchFactor: FloatHow much a particle's shape is stretched along its velocity direction (Billboard particles only).
get angleVariation(): numberSwift declarationvar angleVariation: FloatDefines a plus/minus range (in radians) from which a value is randomly selected to offset `angle`.
set angleVariation(value: number)Swift declarationvar angleVariation: FloatDefines a plus/minus range (in radians) from which a value is randomly selected to offset `angle`.
get spreadingAngle(): numberSwift declarationvar spreadingAngle: FloatThe range, in radians, of randomized initial particle directions as radians describing the size of the spreading cone. Defaults to 0.
set spreadingAngle(value: number)Swift declarationvar spreadingAngle: FloatThe range, in radians, of randomized initial particle directions as radians describing the size of the spreading cone. Defaults to 0.
get vortexStrength(): numberSwift declarationvar vortexStrength: FloatStrength of the vortex forces affecting particle motion. Defaults to 0.
set vortexStrength(value: number)Swift declarationvar vortexStrength: FloatStrength of the vortex forces affecting particle motion. Defaults to 0.
get vortexDirection(): SDKHandleSwift declarationvar vortexDirection: SIMD3<Float>Direction vector of the vortex axis. Defaults to (0, 1, 0).
set vortexDirection(value: SDKHandle)Swift declarationvar vortexDirection: SIMD3<Float>Direction vector of the vortex axis. Defaults to (0, 1, 0).
get attractionCenter(): SDKHandleSwift declarationvar attractionCenter: SIMD3<Float>The spot that the particles are attracted to. In local space. Defaults to (1, 1, 0).
set attractionCenter(value: SDKHandle)Swift declarationvar attractionCenter: SIMD3<Float>The spot that the particles are attracted to. In local space. Defaults to (1, 1, 0).
get isLightingEnabled(): booleanSwift declarationvar isLightingEnabled: BoolDetermines if particles are affected by scene lighting.
set isLightingEnabled(value: boolean)Swift declarationvar isLightingEnabled: BoolDetermines if particles are affected by scene lighting.
get lifeSpanVariation(): numberSwift declarationvar lifeSpanVariation: DoubleDefines a plus/minus range (in seconds) from which a value is randomly selected to offset `lifeSpan`. Defaults to 0.2.
set lifeSpanVariation(value: number)Swift declarationvar lifeSpanVariation: DoubleDefines a plus/minus range (in seconds) from which a value is randomly selected to offset `lifeSpan`. Defaults to 0.2.
get attractionStrength(): numberSwift declarationvar attractionStrength: FloatThe particles are attracted to the `attractionCenter` by this amount. Defaults to 0.
set attractionStrength(value: number)Swift declarationvar attractionStrength: FloatThe particles are attracted to the `attractionCenter` by this amount. Defaults to 0.
get birthRateVariation(): numberSwift declarationvar birthRateVariation: FloatDefines a plus/minus range from which a value is randomly selected to offset `birthRate`.
set birthRateVariation(value: number)Swift declarationvar birthRateVariation: FloatDefines a plus/minus range from which a value is randomly selected to offset `birthRate`.
get colorEvolutionPower(): numberSwift declarationvar colorEvolutionPower: FloatHow quickly the color evolves from its start to its end color — a value of 1 is a linear transition, values below 1 transition quicker, values over 1 transition slower.
set colorEvolutionPower(value: number)Swift declarationvar colorEvolutionPower: FloatHow quickly the color evolves from its start to its end color — a value of 1 is a linear transition, values below 1 transition quicker, values over 1 transition slower.
get noiseAnimationSpeed(): numberSwift declarationvar noiseAnimationSpeed: FloatDetermines how fast the noise field changes over time. Defaults to 0.
set noiseAnimationSpeed(value: number)Swift declarationvar noiseAnimationSpeed: FloatDetermines how fast the noise field changes over time. Defaults to 0.
get angularSpeedVariation(): numberSwift declarationvar angularSpeedVariation: FloatDefines a plus/minus range (in radians per second) from which a value is randomly selected to offset `angularSpeed`.
set angularSpeedVariation(value: number)Swift declarationvar angularSpeedVariation: FloatDefines a plus/minus range (in radians per second) from which a value is randomly selected to offset `angularSpeed`.
get sizeMultiplierAtEndOfLifespan(): numberSwift declarationvar sizeMultiplierAtEndOfLifespan: FloatAt the end of the particle lifespan, the particle's size will be it's initial size times this multiplier. Defaults to 0.1.
set sizeMultiplierAtEndOfLifespan(value: number)Swift declarationvar sizeMultiplierAtEndOfLifespan: FloatAt the end of the particle lifespan, the particle's size will be it's initial size times this multiplier. Defaults to 0.1.
get sizeMultiplierAtEndOfLifespanPower(): numberSwift declarationvar sizeMultiplierAtEndOfLifespanPower: FloatHow quickly or slowly particle size changes over its lifetime — a value of 1 is linear, values below 1 transition quicker, values above 1 transition slower.
set sizeMultiplierAtEndOfLifespanPower(value: number)Swift declarationvar sizeMultiplierAtEndOfLifespanPower: FloatHow quickly or slowly particle size changes over its lifetime — a value of 1 is linear, values below 1 transition quicker, values above 1 transition slower.
get mass(): numberSwift declarationvar mass: FloatThe mass, in grams, of each particle in the system. Defaults to 1.
set mass(value: number)Swift declarationvar mass: FloatThe mass, in grams, of each particle in the system. Defaults to 1.
get size(): numberSwift declarationvar size: FloatThe rendered size, in units of the scene’s world coordinate space, of the particle image. Value is the half-extent of the particle's quad. Defaults to 0.02.
set size(value: number)Swift declarationvar size: FloatThe rendered size, in units of the scene’s world coordinate space, of the particle image. Value is the half-extent of the particle's quad. Defaults to 0.02.
get angle(): numberSwift declarationvar angle: FloatThe rotation angle, in radians, of newly spawned particles. Defaults to 0.
set angle(value: number)Swift declarationvar angle: FloatThe rotation angle, in radians, of newly spawned particles. Defaults to 0.
get image(): (TextureResource) | nullSwift declarationvar image: TextureResource?The image that each particle will use (requires pre-multiplied RGB values). Defaults to a white circular texture.
set image(value: (TextureResource) | null)Swift declarationvar image: TextureResource?The image that each particle will use (requires pre-multiplied RGB values). Defaults to a white circular texture.
get lifeSpan(): numberSwift declarationvar lifeSpan: DoubleThe duration, in seconds, for which each particle is rendered before being removed from the scene. Defaults to 1.
set lifeSpan(value: number)Swift declarationvar lifeSpan: DoubleThe duration, in seconds, for which each particle is rendered before being removed from the scene. Defaults to 1.
get birthRate(): numberSwift declarationvar birthRate: FloatThe number of particles emitted over the emission duration. Defaults to 100.
set birthRate(value: number)Swift declarationvar birthRate: FloatThe number of particles emitted over the emission duration. Defaults to 100.
get blendMode(): ParticleEmitterComponent_ParticleEmitter_BlendModeSwift declarationvar blendMode: ParticleEmitterComponent.ParticleEmitter.BlendModeHow overlapping particles are composited together. Defaults to `alpha`.
set blendMode(value: ParticleEmitterComponent_ParticleEmitter_BlendMode)Swift declarationvar blendMode: ParticleEmitterComponent.ParticleEmitter.BlendModeHow overlapping particles are composited together. Defaults to `alpha`.
get sortOrder(): ParticleEmitterComponent_ParticleEmitter_SortOrderSwift declarationvar sortOrder: ParticleEmitterComponent.ParticleEmitter.SortOrderHow overlapping particles are sorted before rendering. Defaults to `increasingDepth`.
set sortOrder(value: ParticleEmitterComponent_ParticleEmitter_SortOrder)Swift declarationvar sortOrder: ParticleEmitterComponent.ParticleEmitter.SortOrderHow overlapping particles are sorted before rendering. Defaults to `increasingDepth`.
static init(): ParticleEmitterComponent_ParticleEmitterSwift declarationinit()No declarations were skipped in this snapshot.