|
|
|
SW_getAttributeValueA library function which retrieves a value from SAA object SAA_AttributeValue. The SAA_AttributeValue object is a union with a field specifying how the data should be accessed (as an integer, as a float, etc). SW_getAttributeValue use this specification field to retrieve the value correctly. package require SW SW_getAttributeValue AttributeValueID
Return ValueProcedure returns value currently stored by SAA_AttributeValue object . ExampleAllocate and retrieve current scene, convert model's name "sphere1" to elementID, allocate object SAA_AttributeValue and retrieve value of X translation in local coordinate system for sphere1 ( 139 is track ID for X translation). Retrieve value currently stored by SAA_AttributeValue object, which is the actual value of X translation for sphere1
|
|
copyright Video-Collage Inc. |