Trailクラス

クラス日本語解説は準備中

ひとことで言うと

Trailは、ロブロックス(Roblox)のクラスです。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。

公式の説明(英語):Used to create a trail effect between two attachments.

クラスの関係

受け継いでいるクラス:Object → Instance → Trail

プロパティ(17)

名前と書き方説明
Attachment0
Trail.Attachment0: Attachment
Along with Class.Trail.Attachment1|Attachment1, determines where the trail will start drawing its segments.
Attachment1
Trail.Attachment1: Attachment
Along with Class.Trail.Attachment0|Attachment0, determines where the trail will start drawing its segments.
Brightness
Trail.Brightness: float
Scales the light emitted from the trail when Class.Trail.LightInfluence|LightInfluence is less than 1.
Color
Trail.Color: ColorSequence
The color of the trail throughout its lifetime.
Enabled
Trail.Enabled: boolean
Determines whether the trail will be drawn or not.
FaceCamera
Trail.FaceCamera: boolean
Determines whether the trail will always face the camera, regardless of its orientation.
Lifetime
Trail.Lifetime: float
Determines how long each segment in a trail will last, in seconds.
LightEmission
Trail.LightEmission: float
Determines to what degree the colors of the trail are blended with the colors behind it.
LightInfluence
Trail.LightInfluence: float
Determines the degree to which the trail is influenced by the environment's lighting.
MaxLength
Trail.MaxLength: float
Sets the maximum length of the trail.
MinLength
Trail.MinLength: float
Sets the minimum length of the trail.
Texture
Trail.Texture: ContentId
The content ID of the texture to be displayed on the trail.
TextureContent
Trail.TextureContent: Content
The texture displayed on the trail. Supports asset URIs.
TextureLength
Trail.TextureLength: float
Sets the length of the trail's texture, dependent on Class.Trail.TextureMode|TextureMode.
TextureMode
Trail.TextureMode: TextureMode
Determines the manner in which the Class.Trail.Texture|Texture scales, repeats, and moves along with the trail's attachments.
Transparency
Trail.Transparency: NumberSequence
Sets the transparency of the trail's segments over its Class.Trail.Lifetime|Lifetime.
WidthScale
Trail.WidthScale: NumberSequence
Scales the width of the trail over the course of its lifetime.

メソッド(1)

名前と書き方説明
Clear
Trail: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)

ClassName・GetPropertyChangedSignal・IsA・Changed

英語の説明とメンバーの一覧は、Roblox Creator Documentation(Trail)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。

執筆:鈴木孝昌官公庁のWeb・システム開発を担当する現役プロジェクトマネージャー。沖縄マイクラ部 クロスウェーブで、ロブロックス(Roblox)・マインクラフト(マイクラ)・Scratchなどのプログラミングを指導。マイクラカップ沖縄代表チームを指導(第6回・第7回、第7回TBS賞)。
沖縄マイクラ部で、子どもたちにロブロックス(Roblox)やマインクラフト(マイクラ)のプログラミングを教えています。プロフィールと編集方針
Instagramで教室の様子を見る
noteで記事を読む