Difference between revisions of "Is3DLoaded - ObjectReference"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Jlundin
 
imported>Fg109
(added a note)
 
Line 23: Line 23:
endIf
endIf
</source>
</source>
== Notes ==
*Even if the object is in another room bound and therefore not rendered, the function will return true (assuming that if there was no room bound, it would have been rendered).


== See Also ==
== See Also ==

Latest revision as of 20:50, 29 April 2012

Member of: ObjectReference Script

Checks to see if this object has its 3D currently loaded.

Syntax[edit | edit source]

bool Function Is3DLoaded() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

If this object has its 3D currently loaded.

Examples[edit | edit source]

; Does the car have 3d?
if (Car.Is3DLoaded())
  ; We can animate it now, if we want
endIf

Notes[edit | edit source]

  • Even if the object is in another room bound and therefore not rendered, the function will return true (assuming that if there was no room bound, it would have been rendered).

See Also[edit | edit source]