shader(id: string, uniform?: Uniform | ()=>Uniform): ShaderComp
Custom shader.
param
id- The shader id.
param
uniform- The uniform to pass to the shader.
returns
The shader comp.
since
v2000.0
Custom shader.
param
id- The shader id.
param
uniform- The uniform to pass to the shader.
returns
The shader comp.
since
v2000.0
Assets
Components
Component Types
Input
Events
Info
Math
Misc
Draw
Layer
Camera
Level
Plugins
Button Bindings