Decalクラス

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

ひとことで言うと

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

公式の説明(英語):Applies an image texture to a face of a parent BasePart.

クラスの関係

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

このクラスを受け継ぐクラス:Texture

プロパティ(16)

名前と書き方説明
AutoLocalize
Decal.AutoLocalize: boolean
When set to true, the decal's image asset is eligible for automatic localization capture.
Color3
Decal.Color3: Color3
The Color3 tint of the Decal.
ColorMap
Decal.ColorMap: ContentId
Content ID that determines the color and opacity of the surface.
ColorMapContent
Decal.ColorMapContent: Content
Content object that determines the color and opacity of the surface.
EmissiveMaskContent
Decal.EmissiveMaskContent: Content
Content object that determines the emissivity across the surface.
EmissiveStrength
Decal.EmissiveStrength: float
Determines the strength of the emissive contribution.
EmissiveTint
Decal.EmissiveTint: Color3
Determines the tinting color for the emissive contribution.
MetalnessMapContent
Decal.MetalnessMapContent: Content
Content object that determines the metalness map of the surface.
NormalMapContent
Decal.NormalMapContent: Content
Content object that determines the normal map of the surface.
Rotation
Decal.Rotation: float
Rotates the decal texture.
RoughnessMapContent
Decal.RoughnessMapContent: Content
Content object that determines the roughness map of the surface.
TexturePackContent
Decal.TexturePackContent: Content
Engine-managed Content that stores the compressed runtime texture-pack data for PBR decals.
Transparency
Decal.Transparency: float
Determines the transparency of the Decal.
UVOffset
Decal.UVOffset: Vector2
Shifts the UV coordinates by adding an offset before texture mapping.
UVScale
Decal.UVScale: Vector2
Stretches or compresses the UV coordinates by multiplying a scale factor.
ZIndex
Decal.ZIndex: int
Determines the rendering order when multiple decals are assigned the same face.

受け継いでいるメンバー

FaceInstance から受け継いでいるもの(1)

Face

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

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