setOptional method
dynamic
setOptional(
- dynamic gl,
- dynamic object,
- dynamic name
Implementation
setOptional(gl, object, name) {
var v = object.getValue(name);
if (v != null) setValue(gl, name, v);
}