v5.0
Returns the Model to which the parameter belongs. The Model
property can be very useful when you need to quickly locate something directly
under the model such as a CustomProperty.
Note: This property cannot be used within the _Update function of a
CustomOperator.
// get accessor Model rtn = Parameter.Model; |
var oMdl = ActiveSceneRoot.AddModel( null, "MyModel" ) ;
var oNull = oMdl.AddNull() ;
var oSizeParam = oNull.ActivePrimitive.Parameters("Size") ;
logmessage( oSizeParam.Model ) ;
//Expected output:
//INFO : MyModel |