Trailクラス
ひとことで言うと
Trailは、ロブロックス(Roblox)のクラスです。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。
公式の説明(英語):Used to create a trail effect between two attachments.
クラスの関係
プロパティ(17)
| 名前と書き方 | 説明 |
|---|---|
Attachment0Trail.Attachment0: Attachment | Along with Class.Trail.Attachment1|Attachment1, determines where the trail will start drawing its segments. |
Attachment1Trail.Attachment1: Attachment | Along with Class.Trail.Attachment0|Attachment0, determines where the trail will start drawing its segments. |
BrightnessTrail.Brightness: float | Scales the light emitted from the trail when Class.Trail.LightInfluence|LightInfluence is less than 1. |
ColorTrail.Color: ColorSequence | The color of the trail throughout its lifetime. |
EnabledTrail.Enabled: boolean | Determines whether the trail will be drawn or not. |
FaceCameraTrail.FaceCamera: boolean | Determines whether the trail will always face the camera, regardless of its orientation. |
LifetimeTrail.Lifetime: float | Determines how long each segment in a trail will last, in seconds. |
LightEmissionTrail.LightEmission: float | Determines to what degree the colors of the trail are blended with the colors behind it. |
LightInfluenceTrail.LightInfluence: float | Determines the degree to which the trail is influenced by the environment's lighting. |
MaxLengthTrail.MaxLength: float | Sets the maximum length of the trail. |
MinLengthTrail.MinLength: float | Sets the minimum length of the trail. |
TextureTrail.Texture: ContentId | The content ID of the texture to be displayed on the trail. |
TextureContentTrail.TextureContent: Content | The texture displayed on the trail. Supports asset URIs. |
TextureLengthTrail.TextureLength: float | Sets the length of the trail's texture, dependent on Class.Trail.TextureMode|TextureMode. |
TextureModeTrail.TextureMode: TextureMode | Determines the manner in which the Class.Trail.Texture|Texture scales, repeats, and moves along with the trail's attachments. |
TransparencyTrail.Transparency: NumberSequence | Sets the transparency of the trail's segments over its Class.Trail.Lifetime|Lifetime. |
WidthScaleTrail.WidthScale: NumberSequence | Scales the width of the trail over the course of its lifetime. |
メソッド(1)
| 名前と書き方 | 説明 |
|---|---|
ClearTrail:Clear(): () | Clears the segments of the trail. |
受け継いでいるメンバー
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(Trail)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。