ShaderMaterial
A material that uses a custom program.
Tutorials
Methods
The program used to render this material.
Method Descriptions
- Variant get_shader_param ( param ) const
- bool property_can_revert ( name )
Returns if the property identified by can be reverted to a default value.
- Variant property_get_revert ( name )
Changes the value set for this material of a uniform in the shader. Note: must match the name of the uniform in the code exactly.