Gorilla.Material.Grid
Unit Gorilla.Material.Grid.pasClasses
- TGorillaGridMaterial = class ( TGorillaDefaultMaterial )
- TGorillaGridMaterialSource = class ( TGorillaDefaultMaterialSource )
TGorillaGridMaterial
Ancestors
Members
Fields
Methods
- public constructor Create ( const ASource : TGorillaDefaultMaterialSource ) ;
- public destructor Destroy ( ) ;
- protected procedure SetThickness ( const AValue : Single ) ;
- protected procedure DoApply ( const Context : TContext3D ) ; override;
- protected procedure DoCreateVertexShader ( ) ; override;
- protected procedure DoCreateFragmentShader ( ) ; override;
- protected procedure DoSetupFragmentShader ( ) ; override;
Properties
TGorillaGridMaterialSource
The grid material source is used to render grid lines on a grid surface. This material can be used on planes as underground or surface of various objects. The Diffuse color is the color of grid lines, while the GridColor is the color of background surface.
Ancestors
Members
Methods
- public constructor Create ( AOwner : TComponent ) ;
- public destructor Destroy ( ) ;
- protected function CreateMaterial ( ) : TMaterial ; override;
- protected function GetThickness ( ) : Single ;
- protected procedure SetThickness ( const AValue : Single ) ;
- protected function GetTiling ( ) : TPointF ;
- protected procedure SetTiling ( const AValue : TPointF ) ;
- protected function GetGridColorF ( ) : TAlphaColorF ;
- protected procedure SetGridColorF ( const AValue : TAlphaColorF ) ;
- protected function GetGridColor ( ) : TAlphaColor ;
- protected procedure SetGridColor ( const AValue : TAlphaColor ) ;
Properties
- published Thickness : Single
- published Tiling : TPointF
- published GridColor : TAlphaColor
- published UseLighting : Boolean
- published UseSpecular : Boolean
- published UseTexturing : Boolean
- published UseTexture0 : Boolean
- published UseVertexColor : Boolean
- published UseColorClipping : Boolean
- published Texture : TBitmap
- published ShadingModel : TGorillaShadingModel
- published Diffuse : TAlphaColor
- published Emissive : TAlphaColor
- published Ambient : TAlphaColor
- published Specular : TAlphaColor
- published Shininess : Single
- published ClippingColor : TAlphaColor
- published NearLimit : Single
- published FarLimit : Single
- published Shadows : Boolean
- published ShadowMethod : TGorillaShadowMethod
- published DepthPass : TGorillaRenderPassController
- published Reflections : Boolean
- published ReflectionPass : TGorillaRenderPassController
- published ReflectionPower : Single
- published Refractions : Boolean
- published RefractionPass : TGorillaRenderPassController
- published RefractionPower : Single
- published Bitmaps : TGorillaBitmapPool