FBXNode 를 생성합니다. 생성된 FBXNodefbxfile.nodes 에 자동으로 삽입됩니다.

만약 parentName == "Objects" 라면, 해당 노드는 FBXNode.uid, FBXNode.subclass 속성을 가지고 있으며 fbxfile.objects 에 등록됩니다. 이 정보는 FBXFile 에서 Connections 노드를 읽을 때 사용됩니다.

Syntax

new FBXNode(stream, fbxfile, parentName)

Parameters

stream

FBX 파일이 저장되어 있는 ArrayBuffer 를 읽기 위한 FileStream.

fbxfile

FBXNode 를 저장하기 위한 FBXFile .

parentName

부모 노드의 이름을 나타내는 string .

Description

하나의 노드는 다음과 같이 파일에 저장되어 있습니다:

Size (Bytes)	Data Type	Name
------------  --------- ---------
4	            Uint32	  EndOffset
4	            Uint32	  NumProperties
4	            Uint32	  PropertyListLen
1	            Uint8  	  NameLen
NameLen	      char	    Name
?	            ?	        Property[n], for n in 0:PropertyListLen
?           	?	        NestedList (Optional)
13	          uint8[]	  NULL-record (Optional)