Difference between revisions of "NiAVObjectSetLocalScale"
no edit summary
imported>DragoonWraith m (NifSetNthChildLocalScale moved to NiAVObjectSetLocalScale: new name.) |
imported>DragoonWraith |
||
Line 2: | Line 2: | ||
'''Syntax''' | '''Syntax''' | ||
(bool:success) | (bool:success) NiAVObjectSetLocalScale float:scale short:nifID ''short:blockID'' | ||
Sets the local scale of the specified | Sets the local scale of the <tt>NiAVObject</tt>-derived block specified by <tt>blockID</tt>. The default of <tt>blockID</tt>, 0, refers to the root, a <tt>NiNode</tt>, which is a <tt>NiAVObject</tt>-derived block, so this function can be used without an explicit <tt>blockID</tt> in order to set the scale of the root node. | ||
== See Also == | == See Also == | ||
* [[ | * [[NiAVObjectGetLocalScale]] | ||
* [[ | * [[NiAVObjectSetLocalTransform]] | ||
* [[ | * [[NiAVObjectSetLocalTranslation]] | ||
* [[ | * [[NiAVObjectSetLocalRotation]] | ||
[[Category:NifSE| | [[Category:NifSE|AVObjectSetLocalScale]] | ||
[[Category:NifSE ( | [[Category:NifSE (NiAVObject)|SetLocalScale]] |