• Articles
  • Api Documentation
Show / Hide Table of Contents
  • net.abi.abisEngine.components
    • Camera
    • DirectionalLight
    • FreeLook
    • FreeMove
    • Light
    • LockView
    • MeshRenderer
    • PointLight
    • SceneComponent
    • SpotLight
  • net.abi.abisEngine.core
    • CoreEngine
    • Main
    • Time
  • net.abi.abisEngine.entities
    • Entity
    • EntityI
  • net.abi.abisEngine.handlers.file
    • FileHandler
    • PathHandle
    • PathResolveI
    • PathType
  • net.abi.abisEngine.handlers.logging
    • Logger
    • LogLevel
    • LogManager
  • net.abi.abisEngine.input
    • GLFWInput
    • GLFWMouseAndKeyboardInput
  • net.abi.abisEngine.math
    • Math
    • Matrix
    • Matrix4f
    • Quaternion
    • Transform
    • Vector2f
    • Vector2i
    • Vector3f
    • Vector3i
    • Vector4f
    • Vector4fI
  • net.abi.abisEngine.rendering.asset
    • AssetClassifier
    • AssetContainer
    • AssetI
    • AssetLoaderParameters
    • AssetLoaderParameters.LoadedCallback
    • AssetLoadTask
    • AssetManager
    • AssetStore
    • TaskCompleteHandler
  • net.abi.abisEngine.rendering.asset.loaders
    • AssetLoader
    • AsyncAssetLoader
    • ModelSceneLoader
    • ModelSceneLoader.Parameter
    • SyncAssetLoader
  • net.abi.abisEngine.rendering.image
    • AEImage
    • ImageMetaData
    • PixelMap
  • net.abi.abisEngine.rendering.material
    • Material
  • net.abi.abisEngine.rendering.mesh
    • AIMeshLoader
    • Mesh
    • MeshResource
    • Model
    • ModelScene
    • Vertex
  • net.abi.abisEngine.rendering.pipeline
    • RenderingEngine
  • net.abi.abisEngine.rendering.scene
    • Scene
    • SceneManager
  • net.abi.abisEngine.rendering.scene.scenes
    • EngineSplashScreen
  • net.abi.abisEngine.rendering.shader
    • AEShader
    • AEShader.AEShaderType
    • AEShaderResource
    • ForwardAmbientShader
    • ForwardDirectionalShader
    • ForwardPointShader
    • ForwardSpotShader
    • GLSLLayoutQualifier
    • GLSLUniform
    • GLSLUniformBlockObject
    • GLSLUniformBlockObjectData
    • Shader
    • Shader.ShaderSource
    • Shader.ShaderType
    • ShaderResource
    • WireFrameShader
  • net.abi.abisEngine.rendering.shader.compiler
    • AEGLInfo
    • AEShaderCompiler
    • AEShaderCompiler.GLSLStruct
    • AEShaderCompiler.ShaderData
    • AEShaderCompiler.ShaderSource
    • Tokens
    • Tokens.Keywords
    • Tokens.Operators
    • Tokens.Qualifiers
  • net.abi.abisEngine.rendering.shader.loader
    • AEShaderLoader
  • net.abi.abisEngine.rendering.shader.parser
    • AEShaderParserYAML
  • net.abi.abisEngine.rendering.shader.parser.fileTypes.yaml
    • AEDemoProperty
    • AEPrepProperty
    • AEShaderFileYAML
    • AEShaderGLSLProgram
    • AEShaderPass
  • net.abi.abisEngine.rendering.texture
    • Texture
    • Texture.TextureData
    • TextureResource
  • net.abi.abisEngine.rendering.window
    • GLFWWindow
    • GLFWWindow.AnimatedCursor
    • GLFWWindow.CursorI
    • GLFWWindow.GLFWWindowProperties
    • GLFWWindow.StaticCursor
    • GLFWWindow.StaticCursorResource
    • GLFWWindowManager
    • GLFWWindowManager.GLFWWindowContext
  • net.abi.abisEngine.rendering.window.models
    • EngineLoader
  • net.abi.abisEngine.util
    • Attenuation
    • Color
    • Expendable
    • IOUtil
    • MappedValues
    • ThreadUtils
    • Util
  • net.abi.abisEngine.util.async
    • Async
    • AsyncResult
    • AsyncTask
    • AsyncThreadDispatcher
  • net.abi.abisEngine.util.cacheing
    • GenericCache
    • GenericCacheI
    • TwoFactorGenericCache
    • TwoFactorGenericCacheI
  • net.abi.abisEngine.util.exceptions
    • AECursorInitializationException
    • AEException
    • AEGLFWWindowInitializationException
    • AEImageManipulationException
    • AEIOException
    • AERuntimeException
    • AEShaderCompilerRuntimeException
  • tests.renderTest
    • Start
  • tests.renderTest.entitys
    • FlatPlane
    • MonkeyHead
  • tests.renderTest.materials
    • BricksOne
    • BricksTwo
  • tests.renderTest.scenes
    • MainMenu
    • TestGame
  • tests.renderTest.windows
    • MainGame

Class Entity

Inheritance
java.lang.Object
EntityI
Entity
Syntax
public class Entity implements EntityI

Constructors

Entity()

Declaration
public Entity()

Methods

addChild(Entity child)

Declaration
public Entity addChild(Entity child)
Parameters
Type Name Description
Entity child
Returns
Type Description
Entity

addComponent(SceneComponent gameComponent)

Declaration
public Entity addComponent(SceneComponent gameComponent)
Parameters
Type Name Description
SceneComponent gameComponent
Returns
Type Description
Entity

addToScene()

Declaration
public void addToScene()

getAllAttached()

Declaration
public ArrayList<Entity> getAllAttached()
Returns
Type Description
ArrayList<Entity>

getChildren()

Declaration
public ArrayList<Entity> getChildren()
Returns
Type Description
ArrayList<Entity>

getComponents()

Declaration
public ArrayList<SceneComponent> getComponents()
Returns
Type Description
ArrayList<SceneComponent>

getParentScene()

Declaration
public Scene getParentScene()
Returns
Type Description
Scene

getTransform()

Returns The Transform For The Entity Used To Manipulate The Entity.

Declaration
public Transform getTransform()
Returns
Type Description
Transform

Transform Object.

Overrides
EntityI.getTransform()

init()

Initialize All Scene Objects And Components Attached.

Declaration
public void init()
Overrides
EntityI.init()

input(float delta)

Only Update The Inputs For This Object.

Declaration
public void input(float delta)
Parameters
Type Name Description
float delta
Overrides
EntityI.input(float delta)

inputAll(float delta)

Update Inputs For All Scene Objects And Components Attached.

Declaration
public void inputAll(float delta)
Parameters
Type Name Description
float delta

render(Shader shader, RenderingEngine engine)

Only Render This Scene Object.

Declaration
public void render(Shader shader, RenderingEngine engine)
Parameters
Type Name Description
Shader shader
RenderingEngine engine
Overrides
EntityI.render(Shader shader, RenderingEngine engine)

renderAll(Shader shader, RenderingEngine engine)

Declaration
public void renderAll(Shader shader, RenderingEngine engine)
Parameters
Type Name Description
Shader shader
RenderingEngine engine

setChildren(ArrayList<Entity> children)

Declaration
public void setChildren(ArrayList<Entity> children)
Parameters
Type Name Description
ArrayList<Entity> children

setComponents(ArrayList<SceneComponent> components)

Declaration
public void setComponents(ArrayList<SceneComponent> components)
Parameters
Type Name Description
ArrayList<SceneComponent> components

setParentScene(Scene prntScene)

Declaration
public void setParentScene(Scene prntScene)
Parameters
Type Name Description
Scene prntScene

setTransform(Transform transform)

Sets The Entity's Transform To The Transform Provided.

Declaration
public void setTransform(Transform transform)
Parameters
Type Name Description
Transform trnsfrm
Overrides
EntityI.setTransform(Transform trnsfrm)

update(float delta)

Only Update This Scene Object.

Declaration
public void update(float delta)
Parameters
Type Name Description
float delta
Overrides
EntityI.update(float delta)

updateAll(float delta)

Update This And All Scene Objects And Components Attached.

Declaration
public void updateAll(float delta)
Parameters
Type Name Description
float delta
Back to top Generated by DocFX