RefreshVision

Summary

This function allows you to refresh the current visionmode.

Refreshing the visionmode may be necessary if specific properties that are viewed by the current visionmode have been modified. If modifications to property values are not reflected by the current visionmode, calling the refreshvision function may correct that problem.

Parameters

There are no parameters for this function.

See Also

Examples

<setproperty Target="SomeObject.Property1" Amount="237" />
<refreshvision />
This code will find the property named Property1 contained by the asset SomeObject and set its value to 237. It will then call the refreshvision function to update the vision mode to reflect the changes in the targeted property.