Package com.ardor3d.example
Class ExampleBase
java.lang.Object
com.ardor3d.example.ExampleBase
- Direct Known Subclasses:
AnimationBlinnPhongExample
,AnimationCopyExample
,AnimationDemoExample
,AnimationStateExample
,ArrayTerrainExample
,AtlasExample
,AtlasExampleMultiTextured
,BillboardNodeExample
,BillboardNodeZExample
,BloomExample
,BMTextExample
,BoxExample
,BubbleMarkUIExample
,ClipStateExample
,ColladaExample
,ColladaManualAnimationExample
,CollisionTreeExample
,CombinerExample
,DegenerateTrianglesExample
,DisplayListDelegateExample
,DisplayListExample
,ExportImportExample
,ExtrusionExample
,GeneratedTexturesExample
,GeometryInstancingExample
,GLSLRibbonExample
,ImageMapTerrainExample
,InMemoryTerrainExample
,InteractExample
,InteractUIExample
,InterpolationControllerBase
,LineExample
,MandelbrotExplorerExample
,ManyCollisionsExample
,ManyLightsExample
,MaterialFaceExample
,MatrixLookAtExample
,MeshDataSharingExample
,MountainShadowTerrainExample
,MouseManagerExample
,MultiPassTextureExample
,MultiStripExample
,NewDynamicSmokerExample
,OrbitCamExample
,ParallelSplitShadowMapExample
,ParticleRampExample
,ParticleSwarmExample
,ParticleSystemExample
,PointCubeExample
,PointsExample
,PointSpritesExample
,PopOverUIExample
,PrimitiveSkeletonExample
,ProceduralTerrainExample
,ProjectedGridExample
,ProjectedGridWaterExample
,QuadImposterExample
,RenderEffectsExample
,RenderQueueExample
,RenderTextureCubeMapExample
,RenderTextureSideBySideExample
,RotatingUIExample
,RTTShaderExample
,ShadowedTerrainExample
,ShapesExample
,ShapesPlusProceduralTerrainExample
,SimpleColladaExample
,SimpleMd2Example
,SimpleMd3Example
,SimpleObjExample
,SimpleOffExample
,SimplePlyExample
,SimpleStlExample
,SimpleUIExample
,SphereComparisonsExample
,StereoExample
,SwitchNodeExample
,TerrainInteractExample
,TerrainWaterExample
,TexCombineExample
,Texture3DExample
,TextureProjectionExample
,TrailExample
,UpdateTextureExample
,VBOSpeedExample
,ViewportExample
,WaterExample
,WireframeGeometryShaderExample
,ZupTerrainExample
-
Field Summary
Modifier and TypeFieldDescriptionprotected NativeCanvas
protected FirstPersonControl
protected boolean
protected boolean
protected final FrameHandler
protected LightState
protected final LogicalLayer
protected static int
protected static int
protected static int
protected MouseManager
protected PhysicalLayer
protected final Node
protected ScreenShotImageExporter
protected DisplaySettings
protected boolean
protected boolean
protected boolean
protected static boolean
protected final Timer
protected WireframeState
protected Vector3
protected PointLight
static boolean
If true (the default) we will call System.exit on end of demo. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionA scene should be able to handle a pick execution as it is the only thing that has a complete picture of the scenegraph(s).void
exit()
protected PropertiesGameSettings
getAttributes
(PropertiesGameSettings settings) void
init()
protected abstract void
protected void
processPicks
(PrimitivePickResults pickResults) protected void
protected void
protected void
renderDebug
(Renderer renderer) protected void
renderExample
(Renderer renderer) boolean
renderUnto
(Renderer renderer) void
run()
static void
start
(Class<? extends ExampleBase> exampleClazz) void
update
(ReadOnlyTimer timer) protected void
updateExample
(ReadOnlyTimer timer) protected void
updateLogicalLayer
(ReadOnlyTimer timer)
-
Field Details
-
QUIT_VM_ON_EXIT
public static boolean QUIT_VM_ON_EXITIf true (the default) we will call System.exit on end of demo. -
_logicalLayer
-
_physicalLayer
-
_timer
-
_frameHandler
-
_settings
-
_root
-
_lightState
-
_wireframeState
-
_exit
protected volatile boolean _exit -
_stereo
protected static boolean _stereo -
_showBounds
protected boolean _showBounds -
_showNormals
protected boolean _showNormals -
_showDepth
protected boolean _showDepth -
_doShot
protected boolean _doShot -
_canvas
-
_screenShotExp
-
_mouseManager
-
_controlHandle
-
_worldUp
-
light
-
_minDepthBits
protected static int _minDepthBits -
_minAlphaBits
protected static int _minAlphaBits -
_minStencilBits
protected static int _minStencilBits
-
-
Constructor Details
-
ExampleBase
public ExampleBase()
-
-
Method Details
-
run
public void run() -
exit
public void exit() -
init
public void init() -
initExample
protected abstract void initExample() -
update
-
updateLogicalLayer
-
updateExample
-
renderUnto
- Specified by:
renderUnto
in interfaceScene
- Parameters:
renderer
- the renderer- Returns:
true
if a render occurred and we should swap the buffers.
-
renderExample
-
renderDebug
-
doPick
Description copied from interface:Scene
A scene should be able to handle a pick execution as it is the only thing that has a complete picture of the scenegraph(s). -
processPicks
-
quit
-
start
-
getAttributes
-
registerInputTriggers
protected void registerInputTriggers()
-