C# 클래스 AcTools.Kn5File.Kn5

파일 보기 프로젝트 열기: gro-ove/actools 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
FbxConverterLocation string
Header Kn5Header
Materials Kn5Material>.Dictionary
NodesBytes byte[]
RootNode Kn5Node
Textures Kn5Texture>.Dictionary
TexturesData byte[]>.Dictionary

공개 메소드들

메소드 설명
Combine ( Kn5 other ) : void
Combine ( Kn5 other, float position, float rotation ) : void
ConvertColladaToFbx ( string colladaFilename, string fbxFilename ) : void
CreateEmpty ( ) : Kn5
ExportCollada ( string filename ) : void
ExportFbx ( string filename ) : void
ExportFbxWithIni ( string fbxFilename ) : void
ExportFbxWithIniAsync ( string fbxFilename, IProgress progress = null, CancellationToken cancellation = default(CancellationToken) ) : Task
ExportIni_Header ( System.IO.IniFile iniFile ) : void
ExportTextures ( string textureDir ) : void
ExportTexturesAsync ( string textureDir, IProgress progress = null, CancellationToken cancellation = default(CancellationToken) ) : Task
FromDirectory ( string dir, bool jsonMode ) : Kn5
FromFile ( string filename, bool skipTextures = false ) : Kn5
FromHeaderJson ( string file ) : Kn5Header
FromMaterialsJson ( string file ) : Kn5Material>.Dictionary
FromModelsIniFile ( string filename, bool skipTextures = false ) : Kn5
FromNodesJson ( string file ) : Kn5Node
FromStream ( Stream entry, bool skipTextures = false ) : Kn5
IsWithoutTextures ( ) : bool
LoadTexturesFrom ( string filename ) : void
RemoveAllByName ( Kn5Node node, string name ) : int
RemoveAllByName ( string name ) : int
Save ( string filename, bool saveNodes = false ) : void
SaveAll ( string filename ) : void
SetTexture ( [ textureName, string filename ) : void

비공개 메소드들

메소드 설명
CalculateMatrix ( float position, float rotation ) : float[]
ExportCollada_Material ( XmlWriter xml, Kn5Material material ) : void
ExportCollada_MaterialEffect ( XmlWriter xml, Kn5Material material ) : void
ExportCollada_MaterialEffectTexture ( XmlWriter xml, Kn5Material tex ) : void
ExportCollada_Mesh ( XmlWriter xml, string name, IReadOnlyList unsorted ) : void
ExportCollada_MeshWrapper ( XmlWriter xml, Kn5Node node ) : void
ExportCollada_Node ( XmlWriter xml, Kn5Node node ) : void
ExportCollada_NodeSub ( XmlWriter xml, IReadOnlyList boneNames, Kn5Node node ) : void
ExportCollada_NodeSub_BindMaterial ( XmlWriter xml ) : void
ExportCollada_NodeSub_Inner ( XmlWriter xml, IReadOnlyList boneNames, Kn5Node node ) : void
ExportCollada_Scene ( XmlWriter xml ) : void
ExportCollada_Skinned ( XmlWriter xml, Kn5Node node ) : void
ExportCollada_Texture ( XmlWriter xml, Kn5Texture texture ) : void
ExportIni ( string filename, string fbxName = null ) : void
ExportIni_Materials ( System.IO.IniFile iniFile ) : void
ExportIni_Node ( System.IO.IniFile iniFile, string parentName, Kn5Node node, int priority ) : void
ExportIni_Nodes ( System.IO.IniFile iniFile, string fbxName ) : void
ExportIni_TrackNode ( System.IO.IniFile iniFile, string parentName, Kn5Node node ) : void
FirstByName ( string name ) : Kn5Node
FirstFiltered ( bool>.Func filter ) : Kn5Node
FromDirectory_Header ( string dir ) : void
FromDirectory_Materials ( string dir ) : void
FromDirectory_Nodes ( string dir, bool jsonMode ) : void
FromDirectory_Textures ( string dir ) : void
FromFile_Header ( Kn5Reader reader ) : void
FromFile_Materials ( Kn5Reader reader ) : void
FromFile_Node ( Kn5Reader reader ) : Kn5Node
FromFile_Nodes ( Kn5Reader reader ) : void
FromFile_SkipTextures ( Kn5Reader reader ) : void
FromFile_Textures ( Kn5Reader reader ) : void
GetFbxConverterLocation ( ) : string
GetMaterial ( uint id ) : Kn5Material
IsMultiMaterial ( Kn5Node node ) : bool
Kn5 ( ) : System
Kn5 ( string filename ) : System
Save_Node ( Kn5Writer writer, Kn5Node node ) : void

메소드 상세

Combine() 공개 메소드

public Combine ( Kn5 other ) : void
other Kn5
리턴 void

Combine() 공개 메소드

public Combine ( Kn5 other, float position, float rotation ) : void
other Kn5
position float
rotation float
리턴 void

ConvertColladaToFbx() 공개 메소드

public ConvertColladaToFbx ( string colladaFilename, string fbxFilename ) : void
colladaFilename string
fbxFilename string
리턴 void

CreateEmpty() 공개 정적인 메소드

public static CreateEmpty ( ) : Kn5
리턴 Kn5

ExportCollada() 공개 메소드

public ExportCollada ( string filename ) : void
filename string
리턴 void

ExportFbx() 공개 메소드

public ExportFbx ( string filename ) : void
filename string
리턴 void

ExportFbxWithIni() 공개 메소드

public ExportFbxWithIni ( string fbxFilename ) : void
fbxFilename string
리턴 void

ExportFbxWithIniAsync() 공개 메소드

public ExportFbxWithIniAsync ( string fbxFilename, IProgress progress = null, CancellationToken cancellation = default(CancellationToken) ) : Task
fbxFilename string
progress IProgress
cancellation CancellationToken
리턴 Task

ExportIni_Header() 공개 메소드

public ExportIni_Header ( System.IO.IniFile iniFile ) : void
iniFile System.IO.IniFile
리턴 void

ExportTextures() 공개 메소드

public ExportTextures ( string textureDir ) : void
textureDir string
리턴 void

ExportTexturesAsync() 공개 메소드

public ExportTexturesAsync ( string textureDir, IProgress progress = null, CancellationToken cancellation = default(CancellationToken) ) : Task
textureDir string
progress IProgress
cancellation CancellationToken
리턴 Task

FromDirectory() 공개 정적인 메소드

public static FromDirectory ( string dir, bool jsonMode ) : Kn5
dir string
jsonMode bool
리턴 Kn5

FromFile() 공개 정적인 메소드

public static FromFile ( string filename, bool skipTextures = false ) : Kn5
filename string
skipTextures bool
리턴 Kn5

FromHeaderJson() 공개 메소드

public FromHeaderJson ( string file ) : Kn5Header
file string
리턴 Kn5Header

FromMaterialsJson() 공개 메소드

public FromMaterialsJson ( string file ) : Kn5Material>.Dictionary
file string
리턴 Kn5Material>.Dictionary

FromModelsIniFile() 공개 정적인 메소드

public static FromModelsIniFile ( string filename, bool skipTextures = false ) : Kn5
filename string
skipTextures bool
리턴 Kn5

FromNodesJson() 공개 메소드

public FromNodesJson ( string file ) : Kn5Node
file string
리턴 Kn5Node

FromStream() 공개 정적인 메소드

public static FromStream ( Stream entry, bool skipTextures = false ) : Kn5
entry System.IO.Stream
skipTextures bool
리턴 Kn5

IsWithoutTextures() 공개 메소드

public IsWithoutTextures ( ) : bool
리턴 bool

LoadTexturesFrom() 공개 메소드

public LoadTexturesFrom ( string filename ) : void
filename string
리턴 void

RemoveAllByName() 공개 메소드

public RemoveAllByName ( Kn5Node node, string name ) : int
node Kn5Node
name string
리턴 int

RemoveAllByName() 공개 메소드

public RemoveAllByName ( string name ) : int
name string
리턴 int

Save() 공개 메소드

public Save ( string filename, bool saveNodes = false ) : void
filename string
saveNodes bool
리턴 void

SaveAll() 공개 메소드

public SaveAll ( string filename ) : void
filename string
리턴 void

SetTexture() 공개 메소드

public SetTexture ( [ textureName, string filename ) : void
textureName [
filename string
리턴 void

프로퍼티 상세

FbxConverterLocation 공개적으로 정적으로 프로퍼티

public static string FbxConverterLocation
리턴 string

Header 공개적으로 프로퍼티

public Kn5Header,AcTools.Kn5File Header
리턴 Kn5Header

Materials 공개적으로 프로퍼티

public Dictionary Materials
리턴 Kn5Material>.Dictionary

NodesBytes 공개적으로 프로퍼티

public byte[] NodesBytes
리턴 byte[]

RootNode 공개적으로 프로퍼티

public Kn5Node,AcTools.Kn5File RootNode
리턴 Kn5Node

Textures 공개적으로 프로퍼티

public Dictionary Textures
리턴 Kn5Texture>.Dictionary

TexturesData 공개적으로 프로퍼티

public Dictionary TexturesData
리턴 byte[]>.Dictionary