public interface IViewport3D
extends com.scichart.core.framework.IDisposable
Modifier and Type | Method and Description |
---|---|
void |
addWorldDimensionsObserver(WorldDimensionsChangeObserver observer)
Adds specified observer for
getWorldDimensions() |
void |
drawFrame(RenderPassState3D renderPassState)
Forces a redraw to occur in the Viewport3D
|
IEntityIdProvider |
getIdProvider()
Gets the
IEntityIdProvider used by Viewport3D |
boolean |
getIsFpsCounterVisible()
Gets whether FPS counter is visible
|
boolean |
getIsLeftHandedCoordinateSystem()
Gets whether viewport uses left handed coordinate system
|
boolean |
getIsXyzGizmoVisible()
Gets whether XYZ gizmo visible
|
int |
getViewportHeight()
Gets the current viewport height
|
int |
getViewportWidth()
Gets the current viewport width
|
SCRTSceneWorld |
getWorld()
Gets the 3D Scene World from the 3D engine
|
Vector3 |
getWorldDimensions()
Gets the dimensions of 3D Scene World from the 3D engine
|
boolean |
isVertexTexturesSupported()
Gets whether vertex textures are supported on this device
|
void |
removeWorldDimensionsObserver(WorldDimensionsChangeObserver observer)
Removes specified observer from
getWorldDimensions() |
void |
setIsFpsCounterVisible(boolean isFpsCounterVisible)
Sets whether FPS counter is visible
|
void |
setIsLeftHandedCoordinateSystem(boolean isLeftHandedCoordinateSystem)
Sets whether viewport uses left handed coordinate system
|
void |
setIsXyzGizmoVisible(boolean isXyzGizmoVisible)
Sets whether XYZ gizmo is visible
|
void drawFrame(RenderPassState3D renderPassState)
int getViewportWidth()
int getViewportHeight()
IEntityIdProvider getIdProvider()
IEntityIdProvider
used by Viewport3DVector3 getWorldDimensions()
void addWorldDimensionsObserver(WorldDimensionsChangeObserver observer)
getWorldDimensions()
observer
- The observer to addvoid removeWorldDimensionsObserver(WorldDimensionsChangeObserver observer)
getWorldDimensions()
observer
- The observer to removeSCRTSceneWorld getWorld()
boolean getIsLeftHandedCoordinateSystem()
void setIsLeftHandedCoordinateSystem(boolean isLeftHandedCoordinateSystem)
isLeftHandedCoordinateSystem
- The new valueboolean getIsFpsCounterVisible()
void setIsFpsCounterVisible(boolean isFpsCounterVisible)
isFpsCounterVisible
- The new valueboolean getIsXyzGizmoVisible()
void setIsXyzGizmoVisible(boolean isXyzGizmoVisible)
isXyzGizmoVisible
- The new valueboolean isVertexTexturesSupported()