C# Класс Ohana3DS_Transfigured.Ohana.Models.GenericFormats.SMD

Показать файл Открыть проект

Открытые методы

Метод Описание
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