TextureMode列挙型(Enum)
列挙型(Enum)日本語解説は準備中
ひとことで言うと
TextureModeは、ロブロックス(Roblox)の列挙型(Enum)です。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。
公式の説明(英語):Describes how the texture of a Trail or Beam behaves.
選べる値(3)
| 名前 | 値 | 説明 |
|---|---|---|
Enum.TextureMode.Stretch | 0 | For a Trail, the texture will stretch out based on the lifetime of the trail, and shrink inwards if the trail's attachments stop moving. For a Beam, the texture will repeat Class.Beam.TextureLength|TextureLength times across the beam's overall length. See here for details. |
Enum.TextureMode.Wrap | 1 | For a Trail, the texture will be tiled as the length of the trail changes, but the textures will remain stationary relative to their attachments. For a Beam, the texture repetitions will equal the beam's overall length (in studs) divided by its Class.Beam.TextureLength|TextureLength. See here for details. |
Enum.TextureMode.Static | 2 | For a Trail, the texture will be rolled out as the attachments move, and they will remain in place until their lifetime is met. This setting is ideal for trail textures that should appear "stamped" where rendered, such as paw prints or tire tracks. This value is not supported for Beam and therefore behaves identically to **Wrap**. |
英語の説明とメンバーの一覧は、Roblox Creator Documentation(TextureMode)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。