C# Class FBX.SceneLoader.Objects.LoaderTempTexture

Inheritance: LoaderTempSceneObject
Show file Open project: Patapom/GodComplex Class Usage Examples

Protected Properties

Property Type Description
m_SamplerName string
m_SamplerParams string>.Dictionary
m_SourceTexture FBXImporter.Texture
m_bEmbed bool
m_bGenerateMipMaps bool

Public Methods

Method 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

Protected Methods

Method Description
ConvertWrapMode ( FBXImporter _WrapMode ) : int

Converts an FBX wrap mode into an O3D wrap mode

Method Details

ConvertWrapMode() protected method

Converts an FBX wrap mode into an O3D wrap mode
protected ConvertWrapMode ( FBXImporter _WrapMode ) : int
_WrapMode FBXImporter
return int

LoaderTempTexture() public method

public LoaderTempTexture ( SceneLoader _Owner, string _Name ) : System
_Owner SceneLoader
_Name string
return System

SetSamplerParam() public method

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)
return void

SetSourceFBXTexture() public method

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
return void

Property Details

m_SamplerName protected property

protected string m_SamplerName
return string

m_SamplerParams protected property

protected Dictionary m_SamplerParams
return string>.Dictionary

m_SourceTexture protected property

protected FBXImporter.Texture m_SourceTexture
return FBXImporter.Texture

m_bEmbed protected property

protected bool m_bEmbed
return bool

m_bGenerateMipMaps protected property

protected bool m_bGenerateMipMaps
return bool