# ParticleEmitter(ロブロックス クラス) > 煙・火花・キラキラなどの粒子(パーティクル)を出し続ける演出の部品です。パーツやアタッチメントの中に入れて使います。 - URL:https://roblox.minecraft-okinawa.com/reference/classes/ParticleEmitter/ - 公式:https://create.roblox.com/docs/reference/engine/classes/ParticleEmitter - 受け継いでいるクラス:Instance ## プロパティ - `ParticleEmitter.Acceleration: Vector3`:Determines the global-axis acceleration of all active particles, measured in studs per second squared. - `ParticleEmitter.Brightness: float`:Scales the light emitted from the emitter when ParticleEmitter.LightInfluence is 0. - `ParticleEmitter.Color: ColorSequence`:Determines the color of all active particles over their individual lifetimes. - `ParticleEmitter.Drag: float`:Determines the rate at which particles will lose half their speed through exponential decay. - `ParticleEmitter.EmissionDirection: NormalId`:Determines the face of the object that particles emit from. - `ParticleEmitter.Enabled: boolean`:falseにすると粒子が出なくなります。 - `ParticleEmitter.FlipbookBlendFrames: boolean`:Determines whether the flipbook frames are blended between. - `ParticleEmitter.FlipbookFramerate: NumberRange`:Determines how fast the flipbook texture animates in frames per second. - `ParticleEmitter.FlipbookIncompatible: string`:The error message to display if the Class.ParticleEmitter.Texture|Texture is incompatible for a flipbook. - `ParticleEmitter.FlipbookLayout: ParticleFlipbookLayout`:Determines the layout of the flipbook texture. Must be None, Grid2x2, Grid4x4, Grid8x8 or Custom. - `ParticleEmitter.FlipbookMode: ParticleFlipbookMode`:Determines the type of the flipbook animation. Must be Loop, OneShot, PingPong, or Random. - `ParticleEmitter.FlipbookSizeX: int`:Defines the number of horizontal frames in a custom flipbook layout. - `ParticleEmitter.FlipbookSizeY: int`:Defines the number of vertical frames in a custom flipbook layout. - `ParticleEmitter.FlipbookStartRandom: boolean`:Determines whether the animation starts at a random frame chosen per particle instead of always starting at frame zero. - `ParticleEmitter.Lifetime: NumberRange`:粒子が消えるまでの時間。 - `ParticleEmitter.LightEmission: float`:Determines how much particles' colors are blended with the colors behind them. - `ParticleEmitter.LightInfluence: float`:Determines how much particles are influenced by the environmental light. - `ParticleEmitter.LockedToPart: boolean`:Determines whether the particles rigidly move with the part they're being emitted from. - `ParticleEmitter.Orientation: ParticleOrientation`:Specifies how to orient particles. - `ParticleEmitter.Rate: float`:1秒間に出す粒子の数。 - `ParticleEmitter.Rotation: NumberRange`:Determines the range of rotations in degrees for newly emitted particles. - `ParticleEmitter.RotSpeed: NumberRange`:Determines the range of angular speeds of emitted particles, measured in degrees per second. - `ParticleEmitter.Shape: ParticleEmitterShape`:Sets the shape of the emitter to either a box, sphere, cylinder, or disc. - `ParticleEmitter.ShapeInOut: ParticleEmitterShapeInOut`:Sets whether particles emit outward only, inward only, or in both directions. - `ParticleEmitter.ShapePartial: float`:Influences particle emission from cylinder, disc, sphere, and box shapes. - `ParticleEmitter.ShapeStyle: ParticleEmitterShapeStyle`:Sets particle emission to either volumetric or surface-only emission. - `ParticleEmitter.Size: NumberSequence`:Determines the world size over individual particles' lifetimes. - `ParticleEmitter.Speed: NumberRange`:Determines a random range of velocities (minimum to maximum) at which new particles will emit, measured in studs per second. - `ParticleEmitter.SpreadAngle: Vector2`:Determines the angles at which particles may be randomly emit, measured in degrees. - `ParticleEmitter.Squash: NumberSequence`:Allows for non-uniform scaling of particles, curve-controlled over their lifetime. - `ParticleEmitter.Texture: ContentId`:Determines the image rendered on particles. - `ParticleEmitter.TextureContent: Content`:The image rendered on particles. Supports asset URIs. - `ParticleEmitter.TimeScale: float`:Value between 0 and 1 that controls the speed of the particle effect. - `ParticleEmitter.Transparency: NumberSequence`:Determines the transparency of particles over their individual lifetimes. - `ParticleEmitter.VelocityInheritance: float`:Determines how much of the parent's velocity is inherited by particles when emitted. - `ParticleEmitter.WindAffectsDrag: boolean`:Whether emitted particles follow the Workspace.GlobalWind vector. - `ParticleEmitter.ZOffset: float`:Determines the forward-backward render position of particles; used to control what particles render on top/bottom. ## メソッド - `ParticleEmitter:Clear(): ()`:Clears all particles that have been emitted. - `ParticleEmitter:Emit(particleCount: int): ()`:指定した数の粒子を一度に出します。 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)