Difference between revisions of "NIF file"
Jump to navigation
Jump to search
no edit summary
Tag: Manual revert |
|||
Line 13: | Line 13: | ||
== Structure == | == Structure == | ||
NIF files contain separate "blocks" that are structured in a tree-like manner. The "root" block, usually the first in the NIF, is a <tt>NiNode</tt>, a block type which supports collision data, extra data, properties, children, etc., each of which are, themselves, blocks. The most basic block is a <tt>NiObject</tt>, though most NIF files probably don't have any <tt>NiObject</tt> blocks - instead, the blocks of the NIF will all be sub-classes of the <tt>NiObject</tt>. | NIF files contain separate "blocks" that are structured in a tree-like manner. The "root" block, usually the first in the NIF, is a <tt>NiNode</tt>, a block type which supports collision data, extra data, properties, children, etc., each of which are, themselves, blocks. The most basic block is a <tt>NiObject</tt>, though most NIF files probably don't have any <tt>NiObject</tt> blocks - instead, the blocks of the NIF will all be sub-classes of the <tt>NiObject</tt>. | ||
Some of the major block types are presented below. These blocks fit into the hierarchy of sub-classes as follows: | Some of the major block types are presented below. These blocks fit into the hierarchy of sub-classes as follows: | ||