public class NGPerspectiveCamera extends NGCamera
NGNode.DirtyFlag, NGNode.RenderRootResult
INSTANCE, projViewTx, viewHeight, viewWidth, worldTransform, zFar, zNear
childDirty, contentBounds, cullingBits, dirty, DIRTY_CHILDREN_ACCUMULATED_THRESHOLD, 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, applyClip, applyEffect, applyTransform, clearDirty, clearDirtyTree, clearPainted, computeOpaqueRegion, computePadding, doPreCulling, drawDirtyOpts, effectChanged, geometryChanged, getCacheFilter, getClipNode, getClippedBounds, getCompleteBounds, getContentBounds, getEffect, getEffectBounds, getEffectFilter, getName, getNodeBlendMode, getOpacity, getOpaqueRegion, getParent, getRenderRoot, getTransform, hasOpaqueRegion, hasVisuals, invalidateCache, invalidateCacheByTranslation, invalidateOpaqueRegion, isClean, isContentBounds2D, isDepthTest, isRectClip, isVisible, markDirty, markTreeDirty, markTreeDirtyNoIncrement, needsBlending, printDirtyOpts, render, renderEffect, renderForcedContent, setCachedAsBitmap, setClipNode, setContentBounds, setDepthTest, setEffect, setName, setNodeBlendMode, setOpacity, setParent, setTransformedBounds, setTransformMatrix, setVisible, supportsOpaqueRegions, toString, visualsChanged
public void setFieldOfView(float fieldOfViewDegrees)
public void setVerticalFieldOfView(boolean verticalFieldOfView)
public PickRay computePickRay(float x, float y, PickRay pickRay)
computePickRay
in class NGCamera
Copyright © 2020. All rights reserved.