C# Класс Axiom.Components.Terrain.TerrainMaterialGenerator.Profile

Inner class which should also be subclassed to provide profile-specific material generation.
Показать файл Открыть проект

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

Свойство Тип Описание
mDesc string
mName string
mParent TerrainMaterialGenerator

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

Метод Описание
Generate ( Axiom.Components.Terrain.Terrain terrain ) : Material

Generate / reuse a material for the terrain

GenerateForCompositeMap ( Axiom.Components.Terrain.Terrain terrain ) : Material

Generate / reuse a material for the terrain

GetMaxLayers ( Axiom.Components.Terrain.Terrain terrain ) : byte

Get's the number of layers supported

Profile ( Profile profile ) : System

Profile ( TerrainMaterialGenerator parent, string name, string description ) : System

RequestOption ( Axiom.Components.Terrain.Terrain terrain ) : void

Request the options needed from the terrain

UpdateCompositeMap ( Axiom.Components.Terrain.Terrain terrain, Rectangle rect ) : void

Update the composite map for a terrain

UpdateParams ( Material mat, Axiom.Components.Terrain.Terrain terrain ) : void

Update params for a terrain

UpdateParamsForCompositeMap ( Material mat, Axiom.Components.Terrain.Terrain terrain ) : void

Update params for a terrain

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

Generate() публичный абстрактный метод

Generate / reuse a material for the terrain
public abstract Generate ( Axiom.Components.Terrain.Terrain terrain ) : Material
terrain Axiom.Components.Terrain.Terrain
Результат Axiom.Graphics.Material

GenerateForCompositeMap() публичный абстрактный метод

Generate / reuse a material for the terrain
public abstract GenerateForCompositeMap ( Axiom.Components.Terrain.Terrain terrain ) : Material
terrain Axiom.Components.Terrain.Terrain
Результат Axiom.Graphics.Material

GetMaxLayers() публичный абстрактный метод

Get's the number of layers supported
public abstract GetMaxLayers ( Axiom.Components.Terrain.Terrain terrain ) : byte
terrain Axiom.Components.Terrain.Terrain
Результат byte

Profile() публичный метод

public Profile ( Profile profile ) : System
profile Profile
Результат System

Profile() публичный метод

public Profile ( TerrainMaterialGenerator parent, string name, string description ) : System
parent TerrainMaterialGenerator
name string
description string
Результат System

RequestOption() публичный абстрактный метод

Request the options needed from the terrain
public abstract RequestOption ( Axiom.Components.Terrain.Terrain terrain ) : void
terrain Axiom.Components.Terrain.Terrain
Результат void

UpdateCompositeMap() публичный метод

Update the composite map for a terrain
public UpdateCompositeMap ( Axiom.Components.Terrain.Terrain terrain, Rectangle rect ) : void
terrain Axiom.Components.Terrain.Terrain
rect Axiom.Core.Rectangle
Результат void

UpdateParams() публичный абстрактный метод

Update params for a terrain
public abstract UpdateParams ( Material mat, Axiom.Components.Terrain.Terrain terrain ) : void
mat Axiom.Graphics.Material
terrain Axiom.Components.Terrain.Terrain
Результат void

UpdateParamsForCompositeMap() публичный абстрактный метод

Update params for a terrain
public abstract UpdateParamsForCompositeMap ( Material mat, Axiom.Components.Terrain.Terrain terrain ) : void
mat Axiom.Graphics.Material
terrain Axiom.Components.Terrain.Terrain
Результат void

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

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

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

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

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

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

protected TerrainMaterialGenerator,Axiom.Components.Terrain mParent
Результат TerrainMaterialGenerator