Beamクラス

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

ひとことで言うと

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

公式の説明(英語):Connects two Class.Attachment|Attachments by drawing a texture between them.

クラスの関係

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

プロパティ(20)

名前と書き方説明
Attachment0
Beam.Attachment0: Attachment
The Attachment the beam originates from.
Attachment1
Beam.Attachment1: Attachment
The Attachment the beam ends at.
Brightness
Beam.Brightness: float
Scales the light emitted from the beam when Class.Beam.LightInfluence|LightInfluence is less than 1.
Color
Beam.Color: ColorSequence
Determines the color of the beam across its Class.Beam.Segments|Segments.
CurveSize0
Beam.CurveSize0: float
Determines, along with Class.Beam.Attachment0|Attachment0, the position of the second control point in the beam's Bézier curve.
CurveSize1
Beam.CurveSize1: float
Determines, along with Class.Beam.Attachment1|Attachment1, the position of the third control point in the beam's Bézier curve.
Enabled
Beam.Enabled: boolean
Determines whether the beam is visible or not.
FaceCamera
Beam.FaceCamera: boolean
Determines whether the Class.Beam.Segments|Segments of the beam will always face the camera, regardless of its orientation.
LightEmission
Beam.LightEmission: float
Determines to what degree the colors of the beam are blended with the colors behind it.
LightInfluence
Beam.LightInfluence: float
Determines the degree to which the beam is influenced by the environment's lighting.
Segments
Beam.Segments: int
Sets how many straight segments the beam is made up of.
Texture
Beam.Texture: ContentId
The content ID of the texture to be displayed on the beam.
TextureContent
Beam.TextureContent: Content
The texture displayed on the beam. Supports asset URIs.
TextureLength
Beam.TextureLength: float
Sets the length of the beam's texture, dependent on Class.Beam.TextureMode|TextureMode.
TextureMode
Beam.TextureMode: TextureMode
Determines the manner in which the Class.Beam.Texture|Texture scales and repeats.
TextureSpeed
Beam.TextureSpeed: float
Determines the speed at which the Class.Beam.Texture|Texture image moves along the beam.
Transparency
Beam.Transparency: NumberSequence
Determines the transparency of the beam across its segments.
Width0
Beam.Width0: float
The width of the beam at its origin (Class.Beam.Attachment0|Attachment0), in studs.
Width1
Beam.Width1: float
The width of the beam at its end (Class.Beam.Attachment1|Attachment1), in studs.
ZOffset
Beam.ZOffset: float
The distance, in studs, the beam display is offset relative to the Class.Workspace.CurrentCamera|CurrentCamera.

メソッド(1)

名前と書き方説明
SetTextureOffset
Beam:SetTextureOffset(offset: float): ()
Sets the current offset of the beam's texture cycle.

受け継いでいるメンバー

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(Beam)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。

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