Difference between revisions of "NiAVObjectSetLocalTranslation"
Jump to navigation
Jump to search
imported>DragoonWraith |
imported>DragoonWraith m (→See Also: removing TEMP) |
||
Line 14: | Line 14: | ||
* [[ | * [[NiAVObjectSetLocalTransform]] | ||
* [[ | * [[NiAVObjectSetLocalRotation]] | ||
* [[NiAVObjectSetLocalScale]] | * [[NiAVObjectSetLocalScale]] | ||
[[Category:NifSE|AVObjectSetTranslation]] | [[Category:NifSE|AVObjectSetTranslation]] | ||
[[Category:NifSE (NiAVObject)|SetTranslation]] | [[Category:NifSE (NiAVObject)|SetTranslation]] |
Revision as of 19:54, 29 August 2010
This is a command from NifSE.
Syntax
(bool:success) NiAVObjectSetLocalTranslationTEMP float:x float:y float:z short:nifID short:blockID (bool:success) NiAVObjSetLocTranslT float:x float:y float:z short:nifID short:blockID
Sets the local translation of the NiAVObject-derived block specified by blockID. The default value of blockID, 0, refers to the NIF's root, a NiNode, which is a NiAVObject-derived class. Thus, this function may be used without an explicit blockID when setting the root's local translation.
Notes
- Because OBSE Plug-Ins cannot currently accept arrays as arguments, NiAVObjectSetLocalTranslation, as it would properly exist, cannot be implemented. NiAVObjectSetLocalTranslationTEMP is provided as an alternative; it will be deprecated in favor of NiAVObjectSetLocalTranslation when OBSE adds the ability to take array arguments, but backwards compatibility will be maintained.
See Also