ParticleEmitterクラス
ひとことで言うと
煙・火花・キラキラなどの粒子(パーティクル)を出し続ける演出の部品です。パーツやアタッチメントの中に入れて使います。
公式の説明(英語):A special object that emits customizable 2D particles into the world.
クラスの関係
プロパティ(37)
| 名前と書き方 | 説明 |
|---|---|
AccelerationParticleEmitter.Acceleration: Vector3 | Determines the global-axis acceleration of all active particles, measured in studs per second squared. |
BrightnessParticleEmitter.Brightness: float | Scales the light emitted from the emitter when ParticleEmitter.LightInfluence is 0. |
ColorParticleEmitter.Color: ColorSequence | Determines the color of all active particles over their individual lifetimes. |
DragParticleEmitter.Drag: float | Determines the rate at which particles will lose half their speed through exponential decay. |
EmissionDirectionParticleEmitter.EmissionDirection: NormalId | Determines the face of the object that particles emit from. |
EnabledParticleEmitter.Enabled: boolean | falseにすると粒子が出なくなります。Determines if particles emit from the emitter. |
FlipbookBlendFramesParticleEmitter.FlipbookBlendFrames: boolean | Determines whether the flipbook frames are blended between. |
FlipbookFramerateParticleEmitter.FlipbookFramerate: NumberRange | Determines how fast the flipbook texture animates in frames per second. |
FlipbookIncompatibleParticleEmitter.FlipbookIncompatible: string | The error message to display if the Class.ParticleEmitter.Texture|Texture is incompatible for a flipbook. |
FlipbookLayoutParticleEmitter.FlipbookLayout: ParticleFlipbookLayout | Determines the layout of the flipbook texture. Must be None, Grid2x2, Grid4x4, Grid8x8 or Custom. |
FlipbookModeParticleEmitter.FlipbookMode: ParticleFlipbookMode | Determines the type of the flipbook animation. Must be Loop, OneShot, PingPong, or Random. |
FlipbookSizeXParticleEmitter.FlipbookSizeX: int | Defines the number of horizontal frames in a custom flipbook layout. |
FlipbookSizeYParticleEmitter.FlipbookSizeY: int | Defines the number of vertical frames in a custom flipbook layout. |
FlipbookStartRandomParticleEmitter.FlipbookStartRandom: boolean | Determines whether the animation starts at a random frame chosen per particle instead of always starting at frame zero. |
LifetimeParticleEmitter.Lifetime: NumberRange | 粒子が消えるまでの時間。Defines a random range of ages for newly emitted particles. |
LightEmissionParticleEmitter.LightEmission: float | Determines how much particles' colors are blended with the colors behind them. |
LightInfluenceParticleEmitter.LightInfluence: float | Determines how much particles are influenced by the environmental light. |
LockedToPartParticleEmitter.LockedToPart: boolean | Determines whether the particles rigidly move with the part they're being emitted from. |
OrientationParticleEmitter.Orientation: ParticleOrientation | Specifies how to orient particles. |
RateParticleEmitter.Rate: float | 1秒間に出す粒子の数。Determines the number of particles emitted per second. |
RotationParticleEmitter.Rotation: NumberRange | Determines the range of rotations in degrees for newly emitted particles. |
RotSpeedParticleEmitter.RotSpeed: NumberRange | Determines the range of angular speeds of emitted particles, measured in degrees per second. |
ShapeParticleEmitter.Shape: ParticleEmitterShape | Sets the shape of the emitter to either a box, sphere, cylinder, or disc. |
ShapeInOutParticleEmitter.ShapeInOut: ParticleEmitterShapeInOut | Sets whether particles emit outward only, inward only, or in both directions. |
ShapePartialParticleEmitter.ShapePartial: float | Influences particle emission from cylinder, disc, sphere, and box shapes. |
ShapeStyleParticleEmitter.ShapeStyle: ParticleEmitterShapeStyle | Sets particle emission to either volumetric or surface-only emission. |
SizeParticleEmitter.Size: NumberSequence | Determines the world size over individual particles' lifetimes. |
SpeedParticleEmitter.Speed: NumberRange | Determines a random range of velocities (minimum to maximum) at which new particles will emit, measured in studs per second. |
SpreadAngleParticleEmitter.SpreadAngle: Vector2 | Determines the angles at which particles may be randomly emit, measured in degrees. |
SquashParticleEmitter.Squash: NumberSequence | Allows for non-uniform scaling of particles, curve-controlled over their lifetime. |
TextureParticleEmitter.Texture: ContentId | Determines the image rendered on particles. |
TextureContentParticleEmitter.TextureContent: Content | The image rendered on particles. Supports asset URIs. |
TimeScaleParticleEmitter.TimeScale: float | Value between 0 and 1 that controls the speed of the particle effect. |
TransparencyParticleEmitter.Transparency: NumberSequence | Determines the transparency of particles over their individual lifetimes. |
VelocityInheritanceParticleEmitter.VelocityInheritance: float | Determines how much of the parent's velocity is inherited by particles when emitted. |
WindAffectsDragParticleEmitter.WindAffectsDrag: boolean | Whether emitted particles follow the Workspace.GlobalWind vector. |
ZOffsetParticleEmitter.ZOffset: float | Determines the forward-backward render position of particles; used to control what particles render on top/bottom. |
メソッド(2)
| 名前と書き方 | 説明 |
|---|---|
ClearParticleEmitter:Clear(): () | Clears all particles that have been emitted. |
EmitParticleEmitter:Emit(particleCount: int): () | 指定した数の粒子を一度に出します。Emits a given number of particles. |
受け継いでいるメンバー
Instance から受け継いでいるもの(46)
Archivable・Capabilities・IsInSandbox・Name・Parent・PredictionMode・Sandboxed・AddTag・ClearAllChildren・Clone・Destroy・FindFirstAncestor・FindFirstAncestorOfClass・FindFirstAncestorWhichIsA・FindFirstChild・FindFirstChildOfClass・FindFirstChildWhichIsA・FindFirstDescendant・GetActor・GetAttribute・GetAttributeChangedSignal・GetAttributes・GetChildren・GetDebugId・GetDescendants・GetFullName・GetStyled・GetStyledPropertyChangedSignal・GetTags・HasTag・IsAncestorOf・IsDescendantOf・IsPropertyModified・QueryDescendants・RemoveTag・ResetPropertyToDefault・SetAttribute・WaitForChild・AncestryChanged・AttributeChanged・ChildAdded・ChildRemoved・DescendantAdded・DescendantRemoving・Destroying・StyledPropertiesChanged
Object から受け継いでいるもの(4)
英語の説明とメンバーの一覧は、Roblox Creator Documentation(ParticleEmitter)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。