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

SceneMaterialAttribute Class

Modifiers: final
Defines a named attribute for use with custom shaders.

Signature

class SceneMaterialAttribute(val name: String, val type: SceneMaterialDataType)

Constructors

SceneMaterialAttribute ( name , type )
Signature
constructor(name: String, type: SceneMaterialDataType)
Parameters
name: String
  The name of the attribute as it appears in the shader
  The data type of the attribute

Properties

name : String
[Get]
The name of the attribute as it appears in the shader
Signature
val name: String
[Get]
The data type of the attribute
Signature
val type: SceneMaterialDataType
Did you find this page helpful?