Свойство | Type | Description | |
---|---|---|---|
mActiveProfile | Profile | ||
mChangeCounter | int | ||
mCompositeMapCam | |||
mCompositeMapLight | |||
mCompositeMapPlane | ManualObject | ||
mCompositeMapRTT | Axiom.Core.Texture | ||
mCompositeMapSM | |||
mDebugLevel | uint | ||
mLayerDecl | |||
mProfiles | List |
Méthode | Description | |
---|---|---|
CanGenerateUsingDeclaration ( |
Whether this generator can generate a material for a given declaration. By default this only returns true if the declaration is equal to the standard one returned from getLayerDeclaration, but if a subclass wants to be flexible to generate materials for other declarations too, it can specify here.
|
|
Dispose ( ) : void | ||
Generate ( Axiom.Components.Terrain.Terrain terrain ) : |
Generate a material for the given terrain using the active profile.
|
|
GenerateForCompositeMap ( Axiom.Components.Terrain.Terrain terrain ) : |
Generate a material for the given composite map of the terrain using the active profile.
|
|
GetMaxLayers ( Axiom.Components.Terrain.Terrain terrain ) : byte |
Get the maximum number of layers supported with the given terrain.
|
|
MarkChanged ( ) : void |
Internal method - indicates that a change has been made that would require material regeneration
|
|
RenderCompositeMap ( int size, |
Helper method to render a composite map.
|
|
RequestOption ( Axiom.Components.Terrain.Terrain terrain ) : void |
Triggers the generator to request the options that it needs.
|
|
SetActiveProfile ( string name ) : void |
Set the active profile by name.
|
|
UpdateCompositeMap ( Axiom.Components.Terrain.Terrain terrain, |
Update the composite map for a terrain. The composite map for a terrain must match what the terrain should look like at distance. This method will only be called in the render thread so the generator is free to render into a texture to support this, so long as the results are blitted into the Terrain's own composite map afterwards.
|
|
UpdateParams ( |
Update parameters for the given terrain using the active profile.
|
|
UpdateParamsForCompositeMap ( |
Update parameters for the given terrain using the active profile.
|
public CanGenerateUsingDeclaration ( |
||
decl | ||
Résultat | bool |
public Generate ( Axiom.Components.Terrain.Terrain terrain ) : |
||
terrain | Axiom.Components.Terrain.Terrain | |
Résultat |
public GenerateForCompositeMap ( Axiom.Components.Terrain.Terrain terrain ) : |
||
terrain | Axiom.Components.Terrain.Terrain | |
Résultat |
public GetMaxLayers ( Axiom.Components.Terrain.Terrain terrain ) : byte | ||
terrain | Axiom.Components.Terrain.Terrain | |
Résultat | byte |
public RenderCompositeMap ( int size, |
||
size | int | The requested composite map size |
rect | The region of the composite map to update, in image space | |
mat | The material to use to render the map | |
destCompositeMap | Axiom.Core.Texture | |
Résultat | void |
public RequestOption ( Axiom.Components.Terrain.Terrain terrain ) : void | ||
terrain | Axiom.Components.Terrain.Terrain | |
Résultat | void |
public SetActiveProfile ( string name ) : void | ||
name | string | name of the profile |
Résultat | void |
public UpdateCompositeMap ( Axiom.Components.Terrain.Terrain terrain, |
||
terrain | Axiom.Components.Terrain.Terrain | |
rect | ||
Résultat | void |
public UpdateParams ( |
||
mat | ||
terrain | Axiom.Components.Terrain.Terrain | |
Résultat | void |
public UpdateParamsForCompositeMap ( |
||
mat | ||
terrain | Axiom.Components.Terrain.Terrain | |
Résultat | void |
protected Camera,Axiom.Core mCompositeMapCam | ||
Résultat |
protected Light,Axiom.Core mCompositeMapLight | ||
Résultat |
protected ManualObject mCompositeMapPlane | ||
Résultat | ManualObject |
protected Texture,Axiom.Core mCompositeMapRTT | ||
Résultat | Axiom.Core.Texture |
protected SceneManager,Axiom.Core mCompositeMapSM | ||
Résultat |
protected TerrainLayerDeclaration,Axiom.Components.Terrain mLayerDecl | ||
Résultat |