public class NGPerspectiveCamera extends NGCamera
NGNode.DirtyFlag, NGNode.RenderRootResult
Modifier and Type | Field and Description |
---|---|
private boolean |
fixedEyeAtCameraZero |
private double |
fovrad |
private boolean |
verticalFieldOfView |
INSTANCE, projViewTx, viewHeight, viewWidth, worldTransform, zFar, zNear
childDirty, contentBounds, cullingBits, dirty, DIRTY_CHILDREN_ACCUMULATED_THRESHOLD, DIRTY_REGION_CONTAINS_NODE_BOUNDS, DIRTY_REGION_CONTAINS_OR_INTERSECTS_NODE_BOUNDS, DIRTY_REGION_INTERSECTS_NODE_BOUNDS, dirtyBounds, dirtyChildrenAccumulated, TEMP_TRANSFORM, transformedBounds
Constructor and Description |
---|
NGPerspectiveCamera(boolean fixedEyeAtCameraZero) |
Modifier and Type | Method and Description |
---|---|
PickRay |
computePickRay(float x,
float y,
PickRay pickRay) |
void |
setFieldOfView(float fieldOfViewDegrees) |
void |
setVerticalFieldOfView(boolean verticalFieldOfView) |
doRender, getFarClip, getNearClip, getPositionInWorld, getProjViewTx, getViewHeight, getViewWidth, hasOverlappingContents, release, renderContent, setFarClip, setNearClip, setPosition, setProjViewTransform, setViewHeight, setViewWidth, setWorldTransform
accumulateDirtyRegions, accumulateGroupDirtyRegion, accumulateNodeDirtyRegion, applyClip, applyEffect, applyTransform, checkBoundsInQuad, clearDirty, clearDirtyTree, clearPainted, computeNodeRenderRoot, computeOpaqueRegion, computePadding, computeRenderRoot, doPreCulling, drawDirtyOpts, effectChanged, geometryChanged, getCacheFilter, getClipNode, getClippedBounds, getCompleteBounds, getContentBounds, getEffect, getEffectBounds, getEffectFilter, getFilterContext, getName, getNodeBlendMode, getOpacity, getOpaqueRegion, getParent, getRenderRoot, getTransform, hasOpaqueRegion, hasVisuals, invalidateCache, invalidateCacheByTranslation, invalidateOpaqueRegion, isClean, isContentBounds2D, isDepthTest, isOpaqueRegionInvalid, isReadbackSupported, isRectClip, isShape3D, isVisible, markCullRegions, markDirty, markTreeDirty, markTreeDirtyNoIncrement, needsBlending, printDirtyOpts, render, renderClip, renderEffect, renderForcedContent, renderForClip, setCachedAsBitmap, setClipNode, setContentBounds, setDepthTest, setEffect, setName, setNodeBlendMode, setOpacity, setParent, setTransformedBounds, setTransformMatrix, setVisible, supportsOpaqueRegions, toString, visualsChanged
private final boolean fixedEyeAtCameraZero
private double fovrad
private boolean verticalFieldOfView
public void setFieldOfView(float fieldOfViewDegrees)
public void setVerticalFieldOfView(boolean verticalFieldOfView)
public PickRay computePickRay(float x, float y, PickRay pickRay)
computePickRay
in class NGCamera