org.rajawali3d.materials / Material / enableTime

enableTime

open fun enableTime(value: Boolean): Unit

Indicates that the time shader parameter should be used. This is used when creating shaders that should change during the course of time. This is used to accomplish effects like animated vertices, vertex colors, plasma effects, etc. The time needs to be manually updated using the Material#setTime(float) method.

Parameters

value - Boolean:

open fun enableTime(value: Boolean): Unit

Indicates that the time shader parameter should be used. This is used when creating shaders that should change during the course of time. This is used to accomplish effects like animated vertices, vertex colors, plasma effects, etc. The time needs to be manually updated using the Material#setTime(float) method.

Parameters

value - Boolean: