Open Asterune
SurfaceAppearance

SurfaceAppearance

Configures physically based textures and surface shading for a Part.

Creatable
Instance.new("SurfaceAppearance")
Inherits
Instance
Replication
Standard

Behavior

SurfaceAppearance configures physically based textures and surface shading for a Part.

Summary

Members31
Properties30
Methods1

Properties

AlphaCutoff

SurfaceAppearance.AlphaCutoff: number = 0.5

The alpha threshold used to discard pixels in masked rendering.

AlphaMode

SurfaceAppearance.AlphaMode: number = 0

The rendering mode used for the base-color texture's alpha channel.

Anisotropy

SurfaceAppearance.Anisotropy: number = 0

The strength of direction-dependent specular reflection.

AnisotropyDirection

SurfaceAppearance.AnisotropyDirection: number = 0

The orientation of anisotropic surface reflections.

Clearcoat

SurfaceAppearance.Clearcoat: number = 0

The strength of the additional clearcoat reflection layer.

ClearcoatRoughness

SurfaceAppearance.ClearcoatRoughness: number = 0.05

The roughness of the clearcoat reflection layer.

Color

SurfaceAppearance.Color: Color3 = Color3.new(1, 1, 1)

The color applied when rendering this instance.

ColorMap

SurfaceAppearance.ColorMap: Content = ""

The content identifier of the surface's base-color texture.

DoubleSided

SurfaceAppearance.DoubleSided: boolean = false

Whether the surface is rendered from both sides of its triangles.

EmissiveColor

SurfaceAppearance.EmissiveColor: Color3 = Color3.new(1, 1, 1)

The color emitted by the surface.

EmissiveMask

SurfaceAppearance.EmissiveMask: Content = ""

The content identifier of the texture that masks surface emission.

EmissiveStrength

SurfaceAppearance.EmissiveStrength: number = 0

The intensity multiplier for surface emission.

IOR

SurfaceAppearance.IOR: number = 1.5

The surface's index of refraction.

MetallicRoughnessMap

SurfaceAppearance.MetallicRoughnessMap: Content = ""

The content identifier of the packed metallic and roughness texture.

Metalness

SurfaceAppearance.Metalness: number = -1

The metallic contribution of the surface shading model.

MetalnessMap

SurfaceAppearance.MetalnessMap: Content = ""

The content identifier of the surface's metalness texture.

NormalMap

SurfaceAppearance.NormalMap: Content = ""

The content identifier of the surface's normal texture.

NormalScale

SurfaceAppearance.NormalScale: number = 1

The strength of the surface normal map.

OcclusionMap

SurfaceAppearance.OcclusionMap: Content = ""

The content identifier of the surface occlusion texture.

OcclusionStrength

SurfaceAppearance.OcclusionStrength: number = 1

The strength of the occlusion texture's contribution.

Roughness

SurfaceAppearance.Roughness: number = -1

The roughness of the surface's specular reflection.

RoughnessMap

SurfaceAppearance.RoughnessMap: Content = ""

The content identifier of the surface's roughness texture.

Sheen

SurfaceAppearance.Sheen: number = 0

The contribution of the surface's sheen layer.

SheenColor

SurfaceAppearance.SheenColor: Color3 = Color3.new(1, 1, 1)

The tint of the sheen reflection.

SheenRoughness

SurfaceAppearance.SheenRoughness: number = 0.5

The roughness of the sheen reflection.

SpecularTint

SurfaceAppearance.SpecularTint: Color3 = Color3.new(1, 1, 1)

The tint applied to specular reflection.

Subsurface

SurfaceAppearance.Subsurface: number = 0

The contribution of subsurface scattering.

SubsurfaceColor

SurfaceAppearance.SubsurfaceColor: Color3 = Color3.new(1, 0.35, 0.25)

The tint of subsurface-scattered light.

Thickness

SurfaceAppearance.Thickness: number = 0.2

The thickness of the stroke or shell.

Transmission

SurfaceAppearance.Transmission: number = 0

The fraction of light transmitted through the surface.

Methods

GetExecutionGroup

SurfaceAppearance:GetExecutionGroup(): ExecutionGroup?

Returns this instance if it is an ExecutionGroup. Otherwise returns the nearest ancestor ExecutionGroup, or nil when no group contains the instance.

Inherited members

Inherited47

Instance