Constructor

@:value({ custom2 : 0., custom1 : 0., emissive : 0., occlusion : 1., roughness : 1., metalness : 0. })new(metalness:Float = 0., roughness:Float = 1., occlusion:Float = 1., emissive:Float = 0., custom1:Float = 0., custom2:Float = 0.)

Variables

Methods

Inherited Variables

Defined by Shader

@:value(0)read onlypriority:Int = 0

Inherited Methods

Defined by Shader

setPriority(v:Int):Void

Shader priority should only be changed before the shader is added to a material.

toString():String