C# Класс FBX.SceneLoader.Objects.LoaderTempTexture

Наследование: LoaderTempSceneObject
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
m_SamplerName string
m_SamplerParams string>.Dictionary
m_SourceTexture FBXImporter.Texture
m_bEmbed bool
m_bGenerateMipMaps bool

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

Метод Описание
LoaderTempTexture ( SceneLoader _Owner, string _Name ) : System
SetSamplerParam ( string _Name, string _Value ) : void

Sets a sampler param

SetSourceFBXTexture ( FBXImporter _Texture ) : void

Sets the source FBX texture to get the parameters from

You can override individual parameters using the "SetSamplerParam()" function, if a parameter exists in the parameters table, it will be used instead of the one that would be generated from the texture

Защищенные методы

Метод Описание
ConvertWrapMode ( FBXImporter _WrapMode ) : int

Converts an FBX wrap mode into an O3D wrap mode

Описание методов

ConvertWrapMode() защищенный Метод

Converts an FBX wrap mode into an O3D wrap mode
protected ConvertWrapMode ( FBXImporter _WrapMode ) : int
_WrapMode FBXImporter
Результат int

LoaderTempTexture() публичный Метод

public LoaderTempTexture ( SceneLoader _Owner, string _Name ) : System
_Owner SceneLoader
_Name string
Результат System

SetSamplerParam() публичный Метод

Sets a sampler param
public SetSamplerParam ( string _Name, string _Value ) : void
_Name string The name of the param to set
_Value string The value of the param (null clears the param)
Результат void

SetSourceFBXTexture() публичный Метод

Sets the source FBX texture to get the parameters from
You can override individual parameters using the "SetSamplerParam()" function, if a parameter exists in the parameters table, it will be used instead of the one that would be generated from the texture
public SetSourceFBXTexture ( FBXImporter _Texture ) : void
_Texture FBXImporter
Результат void

Описание свойств

m_SamplerName защищенное свойство

protected string m_SamplerName
Результат string

m_SamplerParams защищенное свойство

protected Dictionary m_SamplerParams
Результат string>.Dictionary

m_SourceTexture защищенное свойство

protected FBXImporter.Texture m_SourceTexture
Результат FBXImporter.Texture

m_bEmbed защищенное свойство

protected bool m_bEmbed
Результат bool

m_bGenerateMipMaps защищенное свойство

protected bool m_bGenerateMipMaps
Результат bool