Package jme3utilities.debug
Class Describer
java.lang.Object
jme3utilities.debug.Describer
- All Implemented Interfaces:
Cloneable
Generate compact textual descriptions of jME3 objects.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Create a copy of this Describer.describe(com.jme3.anim.Armature armature) Generate a compact, textual description of the specified Armature, not including its joints.describe(com.jme3.anim.Joint joint) Generate a compact, textual description of the specified Joint, not including its children.describe(com.jme3.animation.Bone bone) Generate a compact, textual description of the specified Bone, not including its children.describe(com.jme3.animation.Skeleton skeleton) Generate a compact, textual description of the specified Skeleton, not including its bones.protected Stringdescribe(com.jme3.asset.TextureKey textureKey) Describe a TextureKey.describe(com.jme3.bounding.BoundingBox aabb) Generate a compact, textual description of the specified BoundingBox.describe(com.jme3.bounding.BoundingSphere sphere) Generate a compact, textual description of the specified BoundingSphere.describe(com.jme3.bounding.BoundingVolume boundingVolume) Generate a compact, textual description of the specified BoundingVolume.protected Stringdescribe(com.jme3.light.Light light) Generate a brief textual description of a light.protected Stringdescribe(com.jme3.light.LightList lightList) Generate a textual description of a light list.describe(com.jme3.material.Material material) Generate a compact, textual description of the specified Material, not including its parameters.describe(com.jme3.material.MatParam matParam) Generate a compact, textual description of the specified material parameter.protected Stringdescribe(com.jme3.material.MatParamOverride override) Generate a textual description of a material-parameter override.protected Stringdescribe(com.jme3.material.RenderState state) Generate a textual description of a RenderState.protected Stringdescribe(com.jme3.post.Filter filter) Generate a textual description of a filter.protected Stringdescribe(com.jme3.post.SceneProcessor processor) Generate a textual description of a SceneProcessor.protected Stringdescribe(com.jme3.renderer.Camera camera) Generate a textual description of a camera.protected Stringdescribe(com.jme3.scene.control.Control control) Generate a textual description of a scene-graph control.describe(com.jme3.scene.Mesh mesh) Generate a compact, textual description of the specified Mesh.describe(com.jme3.scene.VertexBuffer buffer) Generate a compact, textual description of the specified VertexBuffer.describe(com.jme3.texture.Texture texture) Generate a compact, textual description of the specified Texture.describeAudioNode(com.jme3.scene.Spatial spatial) Generate a compact, textual description of an AudioNode.describeBucket(com.jme3.scene.Spatial spatial) Generate a compact, textual description of the render-queue bucket to which the specified Spatial is assigned.describeControls(com.jme3.scene.Spatial spatial) Generate a compact, textual description of all controls added to the specified Spatial.describeCull(com.jme3.scene.Spatial spatial) Generate a compact, textual description of the view-frustum culling hints of the specified Spatial.describeFilters(com.jme3.post.FilterPostProcessor fpp) Generate a compact, textual description of the filters in the specified FilterPostProcessor.describeFlags(com.jme3.renderer.ViewPort viewPort) Generate a compact, textual description of the flags of the specified ViewPort.describeFloats(float... data) Generate a compact, textual description of the specified single-precision floating-point values.protected StringdescribeHalfExtents(com.jme3.math.Vector3f he) Describe the specified half extents.describeLocation(com.jme3.scene.Spatial spatial) Generate a compact, textual description of the world location of the specified Spatial.protected StringdescribeMore(com.jme3.renderer.Camera camera) Generate additional textual description of a Camera.describeOrientation(com.jme3.scene.Spatial spatial) Generate a compact, textual description of the world orientation of the specified Spatial.describeOverrides(com.jme3.scene.Spatial spatial) Generate a compact, textual description of the material-parameter overrides of the specified Spatial.describeProcessors(com.jme3.renderer.ViewPort viewPort) Generate a compact, textual description of the scene processors of the specified ViewPort.describeScale(com.jme3.math.Vector3f vector) Generate a compact, textual description of the specified scale vector.describeScale(com.jme3.scene.Spatial spatial) Generate a compact, textual description of the world scale of the specified Spatial.describeShadow(com.jme3.scene.Spatial spatial) Generate a compact, textual description of the shadow modes of the specified Spatial.describeTrackTarget(com.jme3.anim.util.HasLocalTransform target) Generate a compact, textual description of the specified animation track target.protected chardescribeType(com.jme3.scene.Spatial spatial) Generate a single-character description of the specified Spatial.describeUserData(com.jme3.scene.Spatial spatial) Generate a compact, textual description of any user data in the specified Spatial.describeVertexData(com.jme3.scene.Mesh mesh, int vertexIndex) Generate a compact, textual description of the indexed vertex in the specified Mesh.protected booleanisControlEnabled(com.jme3.scene.control.Control control) Test whether the specified scene-graph control is enabled.Return the list separator.voidsetListSeparator(String newSeparator) Alter the list separator.
-
Constructor Details
-
Describer
public Describer()A no-arg constructor to avoid javadoc warnings from JDK 18.
-
-
Method Details
-
describe
Generate a compact, textual description of the specified Armature, not including its joints.- Parameters:
armature- the Armature to describe (not null, unaffected)- Returns:
- a description (not null, not empty)
-
describe
Generate a compact, textual description of the specified Bone, not including its children.- Parameters:
bone- the Bone to describe (not null, unaffected)- Returns:
- a description (not null, not empty)
-
describe
Generate a compact, textual description of the specified BoundingBox.- Parameters:
aabb- the box to describe (not null, unaffected)- Returns:
- description (not null, not empty)
-
describe
Generate a compact, textual description of the specified BoundingSphere.- Parameters:
sphere- the sphere to describe (not null, unaffected)- Returns:
- description (not null, not empty)
-
describe
Generate a compact, textual description of the specified BoundingVolume.- Parameters:
boundingVolume- the sphere to describe (not null, unaffected)- Returns:
- description (not null, not empty)
-
describe
Generate a compact, textual description of the specified Joint, not including its children.- Parameters:
joint- the Joint to describe (not null, unaffected)- Returns:
- a description (not null, not empty)
-
describe
Generate a compact, textual description of the specified Material, not including its parameters.- Parameters:
material- the Material to describe (may be null, unaffected)- Returns:
- a description (not null, may be empty)
-
describe
Generate a compact, textual description of the specified material parameter.- Parameters:
matParam- the material parameter to describe (not null, unaffected)- Returns:
- a description (not null, may be empty)
-
describe
Generate a compact, textual description of the specified Mesh.- Parameters:
mesh- the Mesh to describe (may be null, unaffected)- Returns:
- a description (not null, not empty)
-
describe
Generate a compact, textual description of the specified Skeleton, not including its bones.- Parameters:
skeleton- the Skeleton to describe (not null, unaffected)- Returns:
- a description (not null, not empty)
-
describe
Generate a compact, textual description of the specified Texture.- Parameters:
texture- the Texture to describe (may be null, unaffected)- Returns:
- a textual description (not null, not empty)
-
describe
Generate a compact, textual description of the specified VertexBuffer.- Parameters:
buffer- the buffer to describe (not null, unaffected)- Returns:
- a textual description (not null, not empty)
-
describeAudioNode
Generate a compact, textual description of an AudioNode.- Parameters:
spatial- the AudioNode to describe (not null, unaffected)- Returns:
- a description (not null, not empty)
-
describeBucket
Generate a compact, textual description of the render-queue bucket to which the specified Spatial is assigned.- Parameters:
spatial- the Spatial to describe (not null, unaffected)- Returns:
- a description (not null, not empty)
-
describeControls
Generate a compact, textual description of all controls added to the specified Spatial.- Parameters:
spatial- the Spatial to describe (not null, unaffected)- Returns:
- a description (not null, may be empty)
-
describeCull
Generate a compact, textual description of the view-frustum culling hints of the specified Spatial.- Parameters:
spatial- the Spatial to describe (not null, unaffected)- Returns:
- a description (not null, not empty)
-
describeFilters
Generate a compact, textual description of the filters in the specified FilterPostProcessor.- Parameters:
fpp- the processor to describe (not null, unaffected)- Returns:
- a description (not null, may be empty)
-
describeFlags
Generate a compact, textual description of the flags of the specified ViewPort.- Parameters:
viewPort- the ViewPort to describe (not null, unaffected)- Returns:
- a description (not null, not empty)
-
describeFloats
Generate a compact, textual description of the specified single-precision floating-point values.- Parameters:
data- the values to describe (not null)- Returns:
- a description (not null, not empty)
-
describeLocation
Generate a compact, textual description of the world location of the specified Spatial.- Parameters:
spatial- the Spatial to describe (not null, unaffected)- Returns:
- a description (not null, may be empty)
-
describeOrientation
Generate a compact, textual description of the world orientation of the specified Spatial.- Parameters:
spatial- the Spatial to describe (not null, unaffected)- Returns:
- a description (not null, may be empty)
-
describeOverrides
Generate a compact, textual description of the material-parameter overrides of the specified Spatial.- Parameters:
spatial- the Spatial to describe (not null, unaffected)- Returns:
- a description (not null, not empty)
-
describeProcessors
Generate a compact, textual description of the scene processors of the specified ViewPort.- Parameters:
viewPort- the ViewPort to describe (not null, unaffected)- Returns:
- a description (not null, may be empty)
-
describeScale
Generate a compact, textual description of the world scale of the specified Spatial.- Parameters:
spatial- the Spatial to describe (not null, unaffected)- Returns:
- a description (not null, may be empty)
-
describeScale
Generate a compact, textual description of the specified scale vector.- Parameters:
vector- the vector to describe (not null, unaffected)- Returns:
- a description (not null, may be empty)
-
describeShadow
Generate a compact, textual description of the shadow modes of the specified Spatial.- Parameters:
spatial- the spatial to describe (not null, unaffected)- Returns:
- a description (not null, not empty)
-
describeTrackTarget
Generate a compact, textual description of the specified animation track target.- Parameters:
target- the target to describe (may be null, unaffected)- Returns:
- a string of descriptive text (not null, not empty)
-
describeUserData
Generate a compact, textual description of any user data in the specified Spatial.- Parameters:
spatial- the Spatial to describe (not null, unaffected)- Returns:
- a description (not null, may be empty)
-
describeVertexData
Generate a compact, textual description of the indexed vertex in the specified Mesh.- Parameters:
mesh- (not null, unaffected)vertexIndex- (≥0)- Returns:
- a description (not null, not empty)
-
listSeparator
Return the list separator.- Returns:
- separator text string (not null, may be empty, default=" ")
-
setListSeparator
Alter the list separator.- Parameters:
newSeparator- (not null, may be empty)
-
describe
Generate a textual description of a camera.- Parameters:
camera- the camera to describe (may be null, unaffected)- Returns:
- a description (not null, not empty)
- See Also:
-
describe
Generate a textual description of a scene-graph control.- Parameters:
control- the control to describe (not null, unaffected)- Returns:
- a description (not null, may be empty)
-
describe
Generate a textual description of a filter.- Parameters:
filter- the filter to describe (unaffected)- Returns:
- a description (not null, not empty)
-
describe
Generate a brief textual description of a light.- Parameters:
light- the light to describe (unaffected)- Returns:
- a description (not null, not empty)
-
describe
Generate a textual description of a light list.- Parameters:
lightList- the list to describe (not null, unaffected)- Returns:
- a description (not null, may be empty)
-
describe
Generate a textual description of a material-parameter override.- Parameters:
override- the override to describe (not null, unaffected)- Returns:
- a description (not null, not empty)
-
describe
Generate a textual description of a RenderState.- Parameters:
state- the RenderState to describe (not null, unaffected)- Returns:
- a description (not null, not empty)
-
describe
Generate a textual description of a SceneProcessor.- Parameters:
processor- the processor to describe (may be null, unaffected)- Returns:
- a description (not null, not empty)
-
describe
Describe a TextureKey.- Parameters:
textureKey- (not null, unaffected)- Returns:
- a textual description (not null, not empty)
-
describeHalfExtents
Describe the specified half extents.- Parameters:
he- the half extent for each axis (not null, unaffected)- Returns:
- a bracketed description (not null, not empty)
-
describeMore
Generate additional textual description of a Camera.- Parameters:
camera- the camera to describe (not null, unaffected)- Returns:
- a description (not null, not empty)
- See Also:
-
describeType
protected char describeType(com.jme3.scene.Spatial spatial) Generate a single-character description of the specified Spatial.- Parameters:
spatial- the spatial to describe (unaffected, may be null)- Returns:
- a mnemonic character
-
isControlEnabled
protected boolean isControlEnabled(com.jme3.scene.control.Control control) Test whether the specified scene-graph control is enabled.- Parameters:
control- the control to test (not null, unaffected)- Returns:
- true if the control is enabled, otherwise false
-
clone
Create a copy of this Describer.- Overrides:
clonein classObject- Returns:
- a new instance, equivalent to this one
- Throws:
CloneNotSupportedException- if the superclass isn't cloneable
-