• Home
  • Samples
  • Api Documentation
Show / Hide Table of Contents
  • Aximo
    • AssetManager
    • AxMath
    • AxPixelFormat
    • AxPrimitiveType
    • BoxExtensions
    • BoxHelper
    • BufferData
    • BufferData1D
    • BufferData1D<T>
    • BufferData2D
    • BufferData2D<T>
    • BufferData3D
    • BufferData3D<T>
    • BufferDataExtentions
    • Camera
    • Camera.CameraChangedDelegate
    • CameraType
    • DebugHelper
    • DictionaryExtensions
    • EventCounter
    • FaceExtensions
    • GenerateFileDelegate
    • Hashing
    • IArray<T>
    • IData
    • IDynamicArray<T>
    • ImageExtensions
    • IPosition
    • IVisitor
    • IVisitorNode
    • Line2
    • Line3
    • ListExtensions
    • Log
    • LogExtensions
    • Mesh
    • MeshColorComponent
    • MeshComponent
    • MeshComponent<T>
    • MeshComponentType
    • MeshFace<T>
    • MeshFaceType
    • MeshNormalComponent
    • MeshPosition2Component
    • MeshPosition3Component
    • MeshPositionComponent<T>
    • MeshUVComponent
    • MeshVertexList<T>
    • OrthographicCamera
    • PathBuilder
    • PerspectiveFieldOfViewCamera
    • Plane
    • Ray
    • ScreenResizeEventArgs
    • SharedLib
    • StreamExtensions
    • StringExtensions
    • Transform
    • VectorExtensions
    • VectorHelper
  • Aximo.Engine
    • Actor
    • ActorComponent
    • AfterApplicationInitializedDelegate
    • Application
    • ApplicationConfig
    • BufferComponent
    • CommandLineOptions
    • ISceneInterface
    • LerpFunc<TValue>
    • Material
    • Material.Parameter
    • Material.ParamterType
    • MaterialManager
    • MeshBuilder
    • PipelineType
    • PrimitiveDrawInterface
    • PrimitiveSceneProxy
    • ScaleFunc
    • ScaleFuncs
    • SceneComponent
    • SceneContext
    • SceneObject
    • Shader
    • Startup
    • Startup<TApplication, TGtk>
    • Startup<TApplication>
    • StaticMeshSceneProxy
    • StaticPrimitiveDrawInterface
    • TaskQueue
    • Texture
    • TextureManager
    • Tween
    • Tween<TValue>
    • Tween1
    • Tween2
    • Tween3
    • TweenBuilder
    • TweenBuilder<TTarget>
    • TweenBuilderExtensions
    • TweenFinishedDelegate
    • TweenState
    • TweenStopBehavior
  • Aximo.Engine.Audio
    • AudioManager
  • Aximo.Engine.Components.Geometry
    • CrossLineComponent
    • CubeComponent
    • DebugCubeComponent
    • GraphicsScreenTextureComponent
    • GridPlaneComponent
    • LineComponent
    • MeshComponent
    • PrimitiveComponent
    • QuadComponent
    • ScreenTextureComponent
    • SkyBoxComponent
    • SphereComponent
    • StaticMeshComponent
    • StatsComponent
  • Aximo.Engine.Components.Lights
    • DirectionalLightComponent
    • LightComponent
    • PointLightComponent
  • Aximo.Engine.Components.UI
    • UIAnchors
    • UIButton
    • UIButtonComponent
    • UIComponent
    • UIContainerComponent
    • UIDock
    • UIFloatingContainer
    • UIFlowContainer
    • UIImage
    • UILabelComponent
    • UIPanelComponent
    • UIRect
  • Aximo.Engine.Windows
    • GtkUI
    • MouseButtonArgs
    • MouseMoveArgs
    • RenderWindow
    • WindowContext
  • Aximo.Generators.AlchemyCircle
    • AlchemyCircleGenerator
    • AlchemyCircleOptions
    • CiaccoRandom
    • TextureDraw
  • Aximo.Render
    • IBounds
    • IDeferredRenderable
    • IForwardRenderable
    • ILightObject
    • ILightTarget
    • IMeshObject
    • IReloadable
    • IRenderableObject
    • IRenderObject
    • IRenderTarget
    • IScaleRotate
    • IScreenRenderable
    • IShadowObject
    • IUpdateFrame
    • LightType
    • MaterialColorBlendMode
    • MeshDepthSorter
    • PixelFormatExtensions
    • PrimitiveObject
    • RenderContext
    • Renderer
    • RendererMaterial
    • ScreenTextureObject
    • SlotAllocator<T>
  • Aximo.Render.Objects
    • LightObject
    • RenderObject
    • RenderObjectBase
    • ScreenSceneObject
    • ScreenshotObject
    • SimpleVertexObject
    • SkyboxObject
  • Aximo.Render.OpenGL
    • BindingPoint
    • BufferObject
    • CullFaceMode
    • DepthFunction
    • DynamicInternalMesh
    • ElementsBufferObject
    • FlushRenderBackend
    • FrameBuffer
    • GraphicsDevice
    • GraphicsTexture
    • InternalLightManager
    • InternalMesh
    • InternalTextureManager
    • IObjectHandle
    • IObjectIdentifier
    • IObjectLabel
    • MeshData
    • MeshData<T>
    • MeshDataBuilder
    • MeshExtensions
    • ObjectManager
    • RenderBuffer
    • RendererShader
    • RendererTexture
    • ShaderCompilation
    • ShaderSource
    • StaticInternalMesh
    • StructHelper
    • UniformBufferObject
    • VertexArrayObject
    • VertexBufferObject
    • VertexLayoutBinded
    • VertexLayoutBindedAttribute
    • VertexLayoutDefinition
    • VertexLayoutDefinitionAttribute
  • Aximo.Render.Pipelines
    • DeferredPass
    • DeferredRenderPipeline
    • DirectionalShadowRenderPipeline
    • ForwardRenderPipeline
    • IRenderPipeline
    • PointShadowRenderPipeline
    • RenderPipeline
    • ScreenPipeline
  • Aximo.Util.IcoSphere
    • IcoSphereCreator
    • IcoSphereMesh
    • MeshGeometry3D
    • TriangleIndices
    • VertexSoup<TVertexStruct>
  • Aximo.VertexData
    • EngineExtensions
    • IPrimitive
    • IPrimitive<TVertex>
    • IVertex
    • IVertexColor
    • IVertexNormal
    • IVertexPos2UV
    • IVertexPosColor
    • IVertexPosition<TVector>
    • IVertexPosition2
    • IVertexPosition3
    • IVertexPosNormalColor
    • IVertexPosNormalUV
    • IVertexPosUV
    • IVertexUV
    • Line<TVertex>
    • Polygon<TVertex>
    • Quad<TVertex>
    • VertexDataPos
    • VertexDataPos2
    • VertexDataPos2UV
    • VertexDataPosColor
    • VertexDataPosNormalColor
    • VertexDataPosNormalUV
    • VertexDataPosUV
  • OpenToolkit.Mathematics
    • AntiVector4d
    • BiVector3d
    • BiVector4d
    • Rotor3

Class Material

Inheritance
System.Object
SceneObject
Material
Implements
System.IDisposable
Inherited Members
SceneObject.ObjectId
SceneObject.Name
SceneObject.Dispose(Boolean)
SceneObject.Dispose()
SceneObject.VisitChilds<T>(Action<T>, Func<T, Boolean>)
Namespace: Aximo.Engine
Assembly: AxEngine.dll
Syntax
public class Material : SceneObject, IDisposable

Constructors

| Improve this Doc View Source

Material()

Declaration
public Material()

Properties

| Improve this Doc View Source

Ambient

Declaration
public float Ambient { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

CastShadow

Declaration
public bool CastShadow { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Color

Declaration
public Vector4 Color { get; set; }
Property Value
Type Description
OpenToolkit.Mathematics.Vector4
| Improve this Doc View Source

CubeShadowShader

Declaration
public Shader CubeShadowShader { get; set; }
Property Value
Type Description
Shader
| Improve this Doc View Source

Default

Declaration
public static Material Default { get; }
Property Value
Type Description
Material
| Improve this Doc View Source

DefGeometryShader

Declaration
public Shader DefGeometryShader { get; set; }
Property Value
Type Description
Shader
| Improve this Doc View Source

DiffuseTexture

Declaration
public Texture DiffuseTexture { get; set; }
Property Value
Type Description
Texture
| Improve this Doc View Source

MaterialId

Declaration
public int MaterialId { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

PipelineType

Specifies what pipeline should be used for this material.

Declaration
public PipelineType PipelineType { get; set; }
Property Value
Type Description
PipelineType
| Improve this Doc View Source

ReceiveShadow

Declaration
public bool ReceiveShadow { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Shader

Declaration
public Shader Shader { get; set; }
Property Value
Type Description
Shader
| Improve this Doc View Source

ShadowShader

Declaration
public Shader ShadowShader { get; set; }
Property Value
Type Description
Shader
| Improve this Doc View Source

Shininess

Declaration
public float Shininess { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

SpecularStrength

Declaration
public float SpecularStrength { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

SpecularTexture

Declaration
public Texture SpecularTexture { get; set; }
Property Value
Type Description
Texture
| Improve this Doc View Source

UseTransparency

Declaration
public bool UseTransparency { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

UseVertexColor

Declaration
public bool UseVertexColor { get; set; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

AddParameter(Material.Parameter)

Declaration
public void AddParameter(Material.Parameter parameter)
Parameters
Type Name Description
Material.Parameter parameter
| Improve this Doc View Source

AddParameter(String, Texture)

Declaration
public void AddParameter(string name, Texture value)
Parameters
Type Name Description
System.String name
Texture value
| Improve this Doc View Source

AddParameter(String, Matrix3)

Declaration
public void AddParameter(string name, Matrix3 value)
Parameters
Type Name Description
System.String name
OpenToolkit.Mathematics.Matrix3 value
| Improve this Doc View Source

AddParameter(String, Matrix4)

Declaration
public void AddParameter(string name, Matrix4 value)
Parameters
Type Name Description
System.String name
OpenToolkit.Mathematics.Matrix4 value
| Improve this Doc View Source

AddParameter(String, Vector2)

Declaration
public void AddParameter(string name, Vector2 value)
Parameters
Type Name Description
System.String name
OpenToolkit.Mathematics.Vector2 value
| Improve this Doc View Source

AddParameter(String, Vector3)

Declaration
public void AddParameter(string name, Vector3 value)
Parameters
Type Name Description
System.String name
OpenToolkit.Mathematics.Vector3 value
| Improve this Doc View Source

AddParameter(String, Vector4)

Declaration
public void AddParameter(string name, Vector4 value)
Parameters
Type Name Description
System.String name
OpenToolkit.Mathematics.Vector4 value
| Improve this Doc View Source

AddParameter(String, Boolean)

Declaration
public void AddParameter(string name, bool value)
Parameters
Type Name Description
System.String name
System.Boolean value
| Improve this Doc View Source

AddParameter(String, Int32)

Declaration
public void AddParameter(string name, int value)
Parameters
Type Name Description
System.String name
System.Int32 value
| Improve this Doc View Source

AddParameter(String, Single)

Declaration
public void AddParameter(string name, float value)
Parameters
Type Name Description
System.String name
System.Single value
| Improve this Doc View Source

AddTexture(Texture)

Declaration
public void AddTexture(Texture txt)
Parameters
Type Name Description
Texture txt
| Improve this Doc View Source

RemoveTexture(Texture)

Declaration
public void RemoveTexture(Texture txt)
Parameters
Type Name Description
Texture txt
| Improve this Doc View Source

SetDefine(String, String)

Declaration
public void SetDefine(string name, string value)
Parameters
Type Name Description
System.String name
System.String value
| Improve this Doc View Source

Visit<T>(Action<T>, Func<T, Boolean>)

Declaration
public override void Visit<T>(Action<T> action, Func<T, bool> visitChilds = null)
    where T : SceneObject
Parameters
Type Name Description
System.Action<T> action
System.Func<T, System.Boolean> visitChilds
Type Parameters
Name Description
T
Overrides
Aximo.Engine.SceneObject.Visit<T>(System.Action<T>, System.Func<T, System.Boolean>)

Implements

System.IDisposable
  • Improve this Doc
  • View Source
Back to top Generated by DocFX