Osiris/API/Transform: Difference between revisions
Jump to navigation
Jump to search
(Osiris Core APIs) |
(No difference)
|
Revision as of 13:52, 8 August 2017
Full Definition(s)
- call Transform(((GUIDSTRING)_Object, (STRING)_ObjectTemplate, (INTEGER)_ReplaceScripts, (INTEGER)_ReplaceScale)
Description
Transforms _Object into the root template _ObjectTemplate. In particular, a.o. the visual and physics resources will be replaced, as well as the VisualSetIndices. Behaviour scripts are only replaced if _ReplaceScripts is 1, and similarly the scale of the object is only changed to that of the root template if _ReplaceScale is 1.
Notes
- Transforming an object more than once is not supported. It may (seem to) work, but the result is undefined.
See Also
- /