Difference between revisions of "NiAVObjectSetLocalScale"
Jump to navigation
Jump to search
imported>DragoonWraith |
imported>DragoonWraith |
||
(One intermediate revision by the same user not shown) | |||
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]] |
Latest revision as of 19:41, 29 August 2010
This is a command from NifSE.
Syntax
(bool:success) NiAVObjectSetLocalScale float:scale short:nifID short:blockID
Sets the local scale of the NiAVObject-derived block specified by blockID. The default of blockID, 0, refers to the root, a NiNode, which is a NiAVObject-derived block, so this function can be used without an explicit blockID in order to set the scale of the root node.
See Also[edit | edit source]