API reference
API reference
Select your platform
No SDKs available
No versions available

SceneMaterialAttribute

SceneMaterialAttribute

class SceneMaterialAttribute(val name: String, val type: SceneMaterialDataType)
Defines a named attribute for use with custom shaders.

Constructors

NameSummary
SceneMaterialAttribute
constructor(name: String, type: SceneMaterialDataType)

Properties

NameSummary
name
val name: String

The name of the attribute as it appears in the shader
type
val type: SceneMaterialDataType

The data type of the attribute
Did you find this page helpful?
Thumbs up icon
Thumbs down icon