C# Class FBX.SceneLoader.Objects.LoaderTempTexture

Inheritance: LoaderTempSceneObject
Afficher le fichier Open project: Patapom/GodComplex Class Usage Examples

Protected Properties

Свойство Type Description
m_SamplerName string
m_SamplerParams string>.Dictionary
m_SourceTexture FBXImporter.Texture
m_bEmbed bool
m_bGenerateMipMaps bool

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
ConvertWrapMode ( FBXImporter _WrapMode ) : int

Converts an FBX wrap mode into an O3D wrap mode

Method Details

ConvertWrapMode() protected méthode

Converts an FBX wrap mode into an O3D wrap mode
protected ConvertWrapMode ( FBXImporter _WrapMode ) : int
_WrapMode FBXImporter
Résultat int

LoaderTempTexture() public méthode

public LoaderTempTexture ( SceneLoader _Owner, string _Name ) : System
_Owner SceneLoader
_Name string
Résultat System

SetSamplerParam() public méthode

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)
Résultat void

SetSourceFBXTexture() public méthode

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
Résultat void

Property Details

m_SamplerName protected_oe property

protected string m_SamplerName
Résultat string

m_SamplerParams protected_oe property

protected Dictionary m_SamplerParams
Résultat string>.Dictionary

m_SourceTexture protected_oe property

protected FBXImporter.Texture m_SourceTexture
Résultat FBXImporter.Texture

m_bEmbed protected_oe property

protected bool m_bEmbed
Résultat bool

m_bGenerateMipMaps protected_oe property

protected bool m_bGenerateMipMaps
Résultat bool