v9.0 (2011)
Returns a local property, given its scripting name.
oReturn = SceneItem.GetLocalPropertyFromName( [Name] ); |
Parameter | Type | Description |
---|---|---|
Name | String | The scripting name of the local property to get |
NewScene( null, false ); var oSphere = CreatePrim( "Sphere", "MeshSurface" ); if( oSphere.GetLocalPropertyFromName( "display" ) ) LogMessage( "Display prop is local" ); else LogMessage( "Display prop is *not* local" ); if( oSphere.GetLocalProperty( "kine" ) ) LogMessage( "Kinematics prop is local" ); else LogMessage( "Kinematics prop is *not* local" ); // INFO : Display prop is *not* local // INFO : Kinematics prop is local |