void SetProperty( string name, bool value )
void SetProperty( string name, float value )
void SetProperty( string name, string value )

robot_2Generated
code_blocksInput

Description

The SetProperty method in the Editor.QObject class allows you to set a boolean property on the object. This method is useful for dynamically changing properties of an object during runtime in the editor environment.

Usage

To use the SetProperty method, you need to provide the name of the property you wish to set and the boolean value you want to assign to it. Ensure that the property name is valid and exists on the object.

Example

// Example of using SetProperty to set a boolean property
Editor.QObject myObject = new Editor.QObject();

// Set a boolean property named "isVisible" to true
myObject.SetProperty("isVisible", true);