Murl Engine Lua Addon API  Version 1.0 beta
Murl.Graph.IFloatUniform

The IFloatUniform interface.

This interface represents a specialized shader uniform object representing a scalar 32bit floating point value.


Table members

Methods


GetUniformInterface()

Get the uniform object's constant base interface to access common properties.

Murl.Graph.IUniform GetUniformInterface()

Returns
Murl.Graph.IUniform The constant base interface.

SetValue(value)

Set the uniform object's value.

SetValue(Number value)

Parameters
valueThe scalar value to set.

GetValue()

Get the uniform object's current value.

Number GetValue()

Returns
Number The current scalar value.