v9.0 (2011)
Returns a property, given its scripting name.
oReturn = SceneItem.GetPropertyFromName( [Name] ); |
Parameter | Type | Description |
---|---|---|
Name | String | The scripting name of the property to get |
NewScene( null, false ); var oSphere = CreatePrim( "Sphere", "MeshSurface" ); var oVisibility = oSphere.GetPropertyFromName( "visibility" ); LogMessage( "Render visibility: " + oVisibility.Parameters( "rendvis" ).Value ); // INFO : Render visibility: true |