C# 클래스 Ohana3DS_Transfigured.Ohana.Models.GenericFormats.SMD

파일 보기 프로젝트 열기: Quibilia/Ohana3DS-Transfigured

공개 메소드들

메소드 설명
export ( RenderBase model, string fileName, int modelIndex, int skeletalAnimationIndex = -1 ) : void

Exports a Model to the Source Model format. Note: SMD model specification doesnt support Model and Skeletal Animation on the same SMD. See: https://developer.valvesoftware.com/wiki/Studiomdl_Data for more information.

import ( string fileName ) : RenderBase.OModelGroup

Imports a Source Model from file.

비공개 메소드들

메소드 설명
getMaterial ( string name ) : RenderBase.OMaterial
getString ( float value ) : string
readLine ( StreamReader reader ) : string

메소드 상세

export() 공개 정적인 메소드

Exports a Model to the Source Model format. Note: SMD model specification doesnt support Model and Skeletal Animation on the same SMD. See: https://developer.valvesoftware.com/wiki/Studiomdl_Data for more information.
public static export ( RenderBase model, string fileName, int modelIndex, int skeletalAnimationIndex = -1 ) : void
model RenderBase The Model that will be exported
fileName string The output File Name
modelIndex int Index of the model to be exported
skeletalAnimationIndex int (Optional) Index of the skeletal animation
리턴 void

import() 공개 정적인 메소드

Imports a Source Model from file.
public static import ( string fileName ) : RenderBase.OModelGroup
fileName string The complete file name
리턴 RenderBase.OModelGroup