TGorillaPlane
Defines a simple plane component, but differs by internal usage from FMX TPlane.
Remarks
The Gorilla3D plane enables static buffering of vertices and indices. This allows also large number of vertices of cubes.This component uses by default static buffering to push vertices only once to GPU.
Ancestors
Members
Fields
Methods
- public constructor Create ( AOwner : TComponent ) ;
- protected procedure SetSubdivisionsHeight ( const Value : Integer ) ;
- protected procedure SetSubdivisionsWidth ( const Value : Integer ) ;
- protected procedure Render ( ) ; override;
- protected procedure RebuildMesh
(
)
;
Rebuilds the plane mesh depending on the configured SubdivisionsAxes and SubdivisionsHeight values.
- protected procedure Resize3D ( ) ; override;
- protected procedure CreateStaticBuffer
(
)
;
Creates a new static buffer for this plane mesh in the local mesh definition.
Properties
- published SubdivisionsHeight : Integer
- published SubdivisionsWidth : Integer
- published MaterialSource : TMaterialSource
- published Cursor : TCursor
- published DragMode : TDragMode
- published Position : TPosition3D
- published Scale : TPosition3D
- published RotationAngle : TPosition3D
- published Locked : Boolean
- published Opacity : Single
- published Projection : TProjection
- published HitTest : Boolean
- published VisibleContextMenu : Boolean
- published TwoSide : Boolean
- published Visible : Boolean
- published ZWrite : Boolean