Notch Notch Manual 0.9.23
 Light | Dark
SetExposedPropertyValue()

SetExposedPropertyValue()

Purpose #

Sets the value of an exposed property.

Syntax #

void SetExposedPropertyValue(String exposed_unique_identifier, float value);

Parameters

exposed_unique_identifierThe unique identifier as set in the Exposed Parameter Settings.
valuethe float value to set to.

Example #

function Update()
{ 
    Document.SetExposedPropertyValue("Position Y::Transform::8a3535a2-ca67-11e5-9c04-184f32f761cc", 3.2);     
}
See Using JS to manipulate the scene for further details.