SetExposedPropertyValue()
Purpose #
Sets the value of an exposed property.
Syntax #
void SetExposedPropertyValue(String exposed_unique_identifier, float value);
Parameters
exposed_unique_identifier | The unique identifier as set in the Exposed Parameter Settings. |
value | the 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.