Index
All Classes and Interfaces|All Packages|Constant Field Values
P
- pan(float, float, float) - Method in class edu.cornell.gdiac.util.Gimbal
-
Pans the camera by the given amount.
- pan(Vector3) - Method in class edu.cornell.gdiac.util.Gimbal
-
Pans the camera by the given vector.
- panning - Variable in class edu.cornell.gdiac.assets.MusicQueueLoader.MusicQueueParameters
-
The stereo pan in range [-1,1] (only valid on mono sources)
- parseColor(JsonValue, Color) - Static method in class edu.cornell.gdiac.assets.ParserUtils
-
Returns the
Color
represented by the given JSON entry - parseFilter(JsonValue, Texture.TextureFilter) - Static method in class edu.cornell.gdiac.assets.ParserUtils
-
Returns the
Texture.TextureFilter
represented by the given JSON entry - parseHinting(JsonValue, FreeTypeFontGenerator.Hinting) - Static method in class edu.cornell.gdiac.assets.ParserUtils
-
Returns the
FreeTypeFontGenerator.Hinting
represented by the given JSON entry - parseJson(JsonValue) - Method in class edu.cornell.gdiac.graphics.obj.ObjParser
-
Returns the information for the given OBJ model.
- parseMtl(String) - Method in class edu.cornell.gdiac.graphics.obj.ObjParser
-
Returns the information for the given MTL file.
- parseMtl(String, String) - Method in class edu.cornell.gdiac.graphics.obj.ObjParser
-
Returns the information for the given MTL file.
- parseObj(String, boolean) - Method in class edu.cornell.gdiac.graphics.obj.ObjParser
-
Returns the information for the given OBJ file.
- parseObj(String, String, boolean) - Method in class edu.cornell.gdiac.graphics.obj.ObjParser
-
Returns the information for the given OBJ file.
- parser - Variable in class edu.cornell.gdiac.assets.MaterialLibLoader
-
A parser for reading the material file
- parser - Variable in class edu.cornell.gdiac.assets.ObjModelLoader
-
A parser for reading the OBJ file
- parsers - Variable in class edu.cornell.gdiac.assets.DirectoryLoader
-
The associated parsers for parsing the JSON contents
- ParserUtils - Class in edu.cornell.gdiac.assets
-
This class is a collection of static functions to access data in a JSON file.
- ParserUtils() - Constructor for class edu.cornell.gdiac.assets.ParserUtils
- parseWrap(JsonValue, Texture.TextureWrap) - Static method in class edu.cornell.gdiac.assets.ParserUtils
-
Returns the
Texture.TextureWrap
represented by the given JSON entry - path - Variable in class edu.cornell.gdiac.graphics.obj.MaterialInfo.LightMap
-
The path to the texture file
- path - Variable in class edu.cornell.gdiac.graphics.obj.MaterialLib
-
The path to the texture file
- path - Variable in class edu.cornell.gdiac.graphics.obj.ModelInfo
-
The path to the OBJ file
- Path2 - Class in edu.cornell.gdiac.math
-
A class to represent a flattened polyline.
- Path2() - Constructor for class edu.cornell.gdiac.math.Path2
-
Creates an empty path
- Path2(float[]) - Constructor for class edu.cornell.gdiac.math.Path2
-
Creates a path with the given vertices
- Path2(float[], int, int) - Constructor for class edu.cornell.gdiac.math.Path2
-
Creates a path with the given vertices
- Path2(Rectangle) - Constructor for class edu.cornell.gdiac.math.Path2
-
Creates a path for the given the given rectangle.
- Path2(Path2) - Constructor for class edu.cornell.gdiac.math.Path2
-
Creates a copy of the given path.
- PathExtruder - Class in edu.cornell.gdiac.math
-
A factory class for extruding paths into a solid polygon.
- PathExtruder() - Constructor for class edu.cornell.gdiac.math.PathExtruder
-
Creates an extruder with no path data.
- PathExtruder(float[], boolean) - Constructor for class edu.cornell.gdiac.math.PathExtruder
-
Creates an extruder with the given path.
- PathExtruder(Path2) - Constructor for class edu.cornell.gdiac.math.PathExtruder
-
Creates an extruder with the given path.
- PathExtruder.EndCap - Enum Class in edu.cornell.gdiac.math
-
The types of caps supported in an extrusion.
- PathExtruder.Joint - Enum Class in edu.cornell.gdiac.math
-
The types of joints supported in an extrusion.
- PathFactory - Class in edu.cornell.gdiac.math
-
A factory class for generating common Path2 objects.
- PathFactory() - Constructor for class edu.cornell.gdiac.math.PathFactory
-
Creates a factory for generating common paths.
- PathFactory(float) - Constructor for class edu.cornell.gdiac.math.PathFactory
-
Creates a factory for generating common paths with the given tolerance.
- PathFactory.Traversal - Enum Class in edu.cornell.gdiac.math
-
This enum lists the types of path traversal that are supported.
- PathSmoother - Class in edu.cornell.gdiac.math
-
A factory class to smooth a continuous path of points, reducing the number needed.
- PathSmoother() - Constructor for class edu.cornell.gdiac.math.PathSmoother
-
Creates a path smoother with no vertex data.
- PathSmoother(float[]) - Constructor for class edu.cornell.gdiac.math.PathSmoother
-
Creates a path smoother with the given vertex data.
- pause() - Method in interface edu.cornell.gdiac.audio.AudioEngine
-
Pauses all sound instances associated with this audio engine.
- PERSPECTIVE_UNIFORM - Static variable in class edu.cornell.gdiac.graphics.shaders.ObjShader
-
The perspective matrix uniform
- pindex - Variable in class edu.cornell.gdiac.graphics.obj.ModelInfo.Vertex
-
The index of the vertex position in the model (-1 if undefined)
- pitch - Variable in class edu.cornell.gdiac.assets.MusicQueueLoader.MusicQueueParameters
-
The pitch multiplier volume in range [0.5,2.0]
- PitchShifterDef() - Constructor for class edu.cornell.gdiac.audio.EffectFactory.PitchShifterDef
- play(String, SoundEffect) - Method in class edu.cornell.gdiac.audio.SoundEffectManager
-
Plays the an instance of the given sound
- play(String, SoundEffect, float) - Method in class edu.cornell.gdiac.audio.SoundEffectManager
-
Plays the an instance of the given sound
- play(String, SoundEffect, float, boolean) - Method in class edu.cornell.gdiac.audio.SoundEffectManager
-
Plays the an instance of the given sound
- poll() - Method in class edu.cornell.gdiac.util.PooledList
-
Removes the first element of the list.
- poly - Variable in class edu.cornell.gdiac.physics2.PolygonObstacle
-
The Poly2 representation of this obstacle
- Poly2 - Class in edu.cornell.gdiac.math
-
A class to represent a simple polygon.
- Poly2() - Constructor for class edu.cornell.gdiac.math.Poly2
-
Creates an empty polygon.
- Poly2(float[]) - Constructor for class edu.cornell.gdiac.math.Poly2
-
Creates a polygon with the given vertices
- Poly2(float[], int, int) - Constructor for class edu.cornell.gdiac.math.Poly2
-
Creates a the polygon with the given vertices
- Poly2(float[], short[]) - Constructor for class edu.cornell.gdiac.math.Poly2
-
Creates a polygon with the given vertices and indices
- Poly2(float, float, float, float) - Constructor for class edu.cornell.gdiac.math.Poly2
-
Creates a polygon for the given rectangle.
- Poly2(Rectangle) - Constructor for class edu.cornell.gdiac.math.Poly2
-
Creates a polygon for the given rectangle.
- Poly2(Poly2) - Constructor for class edu.cornell.gdiac.math.Poly2
-
Creates a polygon that is a copy of the given one.
- PolyFactory - Class in edu.cornell.gdiac.math
-
A factory class for generating common Poly2 objects.
- PolyFactory() - Constructor for class edu.cornell.gdiac.math.PolyFactory
-
Creates a PolyFactory for generating solid polygons.
- PolyFactory(float) - Constructor for class edu.cornell.gdiac.math.PolyFactory
-
Creates a PolyFactory for generating solid polygons.
- PolygonObstacle - Class in edu.cornell.gdiac.physics2
-
A polygonal-shaped model to support collisions.
- PolygonObstacle(float[]) - Constructor for class edu.cornell.gdiac.physics2.PolygonObstacle
-
Creates a (not necessarily convex) polygon at the origin.
- PolygonObstacle(float[], float, float) - Constructor for class edu.cornell.gdiac.physics2.PolygonObstacle
-
Creates a (not necessarily convex) polygon
- PolygonObstacle(FloatArray) - Constructor for class edu.cornell.gdiac.physics2.PolygonObstacle
-
Creates a (not necessarily convex) polygon at the origin.
- PolygonObstacle(FloatArray, float, float) - Constructor for class edu.cornell.gdiac.physics2.PolygonObstacle
-
Creates a (not necessarily convex) polygon
- PolygonObstacle(Poly2) - Constructor for class edu.cornell.gdiac.physics2.PolygonObstacle
-
Creates a (not necessarily convex) polygon at the origin.
- PolygonObstacle(Poly2, float, float) - Constructor for class edu.cornell.gdiac.physics2.PolygonObstacle
-
Creates a (not necessarily convex) polygon
- PolyTriangulator - Class in edu.cornell.gdiac.math
-
A factory class for producing solid Poly2 objects from a set of vertices.
- PolyTriangulator() - Constructor for class edu.cornell.gdiac.math.PolyTriangulator
-
Creates a triangulator with no vertex data.
- PolyTriangulator(float[]) - Constructor for class edu.cornell.gdiac.math.PolyTriangulator
-
Creates a triangulator with the given vertex data.
- PolyTriangulator(FloatArray) - Constructor for class edu.cornell.gdiac.math.PolyTriangulator
-
Creates a triangulator with the given vertex data.
- PolyTriangulator(Path2) - Constructor for class edu.cornell.gdiac.math.PolyTriangulator
-
Creates a triangulator with the given vertex data.
- PooledList<E> - Class in edu.cornell.gdiac.util
-
A doubly-linked list that uses LibGDX memory pools to optimize memory costs.
- PooledList() - Constructor for class edu.cornell.gdiac.util.PooledList
-
Creates a new empty PooledList
- PooledList.Entry - Class in edu.cornell.gdiac.util
-
An internal node in the doubly-linked list
- pop() - Method in class edu.cornell.gdiac.math.Path2
-
Returns the former end point in the path, after removing it
- pop() - Method in class edu.cornell.gdiac.util.PooledList
-
Removes the last element of the list.
- pop(Vector2) - Method in class edu.cornell.gdiac.math.Path2
-
Returns the former end point in the path, after removing it
- pos - Variable in class edu.cornell.gdiac.graphics.VertexBuffer.AttribData
-
The position of the attribute in the shader
- POSITION_ATTRIBUTE - Static variable in class edu.cornell.gdiac.graphics.shaders.ObjShader
-
The position attribute variable (uses the default from
ShaderProgram
- POSITION_ATTRIBUTE - Static variable in class edu.cornell.gdiac.graphics.shaders.SpriteShader
-
The position attribute variable (uses the default from
ShaderProgram
- positionCache - Variable in class edu.cornell.gdiac.physics2.Obstacle
-
A cache value for when the user wants to access the body position
- positions - Variable in class edu.cornell.gdiac.graphics.obj.ModelInfo
-
The vertex positions in this file
- PREMULT - Enum constant in enum class edu.cornell.gdiac.graphics.SpriteBatch.BlendMode
-
Alpha blending on, assuming the colors have pre-multipled alpha (uncommon)
- processNext(AssetManager, ObjectMap<String, String>) - Method in interface edu.cornell.gdiac.assets.AssetParser
-
Processes the next available asset, loading it into the asset manager
- processNext(AssetManager, ObjectMap<String, String>) - Method in class edu.cornell.gdiac.assets.AudioSourceParser
-
Processes the next available sound object, loading it into the asset manager
- processNext(AssetManager, ObjectMap<String, String>) - Method in class edu.cornell.gdiac.assets.FreetypeFontParser
-
Processes the next available font, loading it into the asset manager
- processNext(AssetManager, ObjectMap<String, String>) - Method in class edu.cornell.gdiac.assets.JsonValueParser
-
Processes the next available json value, loading it into the asset manager
- processNext(AssetManager, ObjectMap<String, String>) - Method in class edu.cornell.gdiac.assets.MaterialLibParser
-
Processes the next available texture region, loading it into the asset manager
- processNext(AssetManager, ObjectMap<String, String>) - Method in class edu.cornell.gdiac.assets.MusicParser
-
Processes the next available music object, loading it into the asset manager
- processNext(AssetManager, ObjectMap<String, String>) - Method in class edu.cornell.gdiac.assets.MusicQueueParser
-
Processes the next available music buffer, loading it into the asset manager
- processNext(AssetManager, ObjectMap<String, String>) - Method in class edu.cornell.gdiac.assets.ObjModelParser
-
Processes the next available texture region, loading it into the asset manager
- processNext(AssetManager, ObjectMap<String, String>) - Method in class edu.cornell.gdiac.assets.ShaderParser
-
Processes the next available texture, loading it into the asset manager
- processNext(AssetManager, ObjectMap<String, String>) - Method in class edu.cornell.gdiac.assets.SoundEffectParser
-
Processes the next available sound buffer, loading it into the asset manager
- processNext(AssetManager, ObjectMap<String, String>) - Method in class edu.cornell.gdiac.assets.SoundParser
-
Processes the next available sound object, loading it into the asset manager
- processNext(AssetManager, ObjectMap<String, String>) - Method in class edu.cornell.gdiac.assets.SpriteSheetParser
-
Processes the next available sprite sheet, loading it into the asset manager
- processNext(AssetManager, ObjectMap<String, String>) - Method in class edu.cornell.gdiac.assets.TextureParser
-
Processes the next available texture, loading it into the asset manager
- processNext(AssetManager, ObjectMap<String, String>) - Method in class edu.cornell.gdiac.assets.TextureRegionParser
-
Processes the next available texture region, loading it into the asset manager
- processNext(AssetManager, ObjectMap<String, String>) - Method in class edu.cornell.gdiac.assets.WidgetValueParser
-
Processes the next available json value, loading it into the asset manager
- PROJECTION_UNIFORM - Static variable in class edu.cornell.gdiac.graphics.shaders.SpriteShader
-
The projection matrix uniform
- push(float, float) - Method in class edu.cornell.gdiac.graphics.SpriteMesh
-
Adds a vertex to the end of this mesh
- push(float, float) - Method in class edu.cornell.gdiac.math.Poly2
-
Adds a point to the end of this polygon
- push(float, float, boolean) - Method in class edu.cornell.gdiac.math.Path2
-
Adds a point to the end of this path
- push(float, float, float) - Method in class edu.cornell.gdiac.graphics.obj.ObjMesh
-
Adds a vertex to the end of this mesh
- push(float, float, float, float) - Method in class edu.cornell.gdiac.graphics.SpriteMesh
-
Adds a vertex to the end of this mesh
- push(float, float, float, float, float, float) - Method in class edu.cornell.gdiac.graphics.obj.ObjMesh
-
Adds a vertex to the end of this mesh
- push(float, float, float, float, float, float, float, float) - Method in class edu.cornell.gdiac.graphics.obj.ObjMesh
-
Adds a vertex to the end of this mesh
- push(float, float, Color) - Method in class edu.cornell.gdiac.graphics.SpriteMesh
-
Adds a vertex to the end of this mesh
- push(float, float, Color, float, float) - Method in class edu.cornell.gdiac.graphics.SpriteMesh
-
Adds a vertex to the end of this mesh
- push(float, float, Color, float, float, float, float) - Method in class edu.cornell.gdiac.graphics.SpriteMesh
-
Adds a vertex to the end of this mesh This method does not update the indices.
- push(Vector2) - Method in class edu.cornell.gdiac.graphics.SpriteMesh
-
Adds a vertex to the end of this mesh
- push(Vector2) - Method in class edu.cornell.gdiac.math.Poly2
-
Adds a point to the end of this polygon
- push(Vector2, boolean) - Method in class edu.cornell.gdiac.math.Path2
-
Adds a point to the end of this path
- push(Vector2, Color) - Method in class edu.cornell.gdiac.graphics.SpriteMesh
-
Adds a vertex to the end of this mesh
- push(Vector2, Color, Vector2) - Method in class edu.cornell.gdiac.graphics.SpriteMesh
-
Adds a vertex to the end of this mesh
- push(Vector2, Color, Vector2, Vector2) - Method in class edu.cornell.gdiac.graphics.SpriteMesh
-
Adds a vertex to the end of this mesh
- push(Vector2, Vector2) - Method in class edu.cornell.gdiac.graphics.SpriteMesh
-
Adds a vertex to the end of this mesh
- push(Vector3) - Method in class edu.cornell.gdiac.graphics.obj.ObjMesh
-
Adds a vertex to the end of this mesh
- push(Vector3, Vector3) - Method in class edu.cornell.gdiac.graphics.obj.ObjMesh
-
Adds a vertex to the end of this mesh
- push(Vector3, Vector3, Vector2) - Method in class edu.cornell.gdiac.graphics.obj.ObjMesh
-
Adds a vertex to the end of this mesh
- push(E) - Method in class edu.cornell.gdiac.util.PooledList
-
Adds an element to the end of the list
All Classes and Interfaces|All Packages|Constant Field Values