Search Results for

    Show / Hide Table of Contents

    Interface IViewport3D

    Defines the interface to a 3D Viewport, which wraps a C++ Engine and allows presentation of the 3D Scene

    Implements
    IDisposable
    Namespace:
    Assembly: .dll
    Syntax
    public interface IViewport3D extends IDisposable

    Methods

    addWorldDimensionsObserver(WorldDimensionsChangeObserver observer)

    Adds specified observer for #getWorldDimensions()

    Declaration
    public abstract void addWorldDimensionsObserver(WorldDimensionsChangeObserver observer)
    Parameters
    Type Name Description
    WorldDimensionsChangeObserver observer

    The observer to add

    drawFrame(RenderPassState3D renderPassState)

    Forces a redraw to occur in the Viewport3D

    Declaration
    public abstract void drawFrame(RenderPassState3D renderPassState)
    Parameters
    Type Name Description
    RenderPassState3D renderPassState

    getIdProvider()

    Gets the IEntityIdProvider used by Viewport3D

    Declaration
    public abstract IEntityIdProvider getIdProvider()
    Returns
    Type Description
    IEntityIdProvider

    The id provider

    getIsFpsCounterVisible()

    Gets whether FPS counter is visible

    Declaration
    public abstract boolean getIsFpsCounterVisible()
    Returns
    Type Description
    boolean

    True if visible, otherwise false

    getIsLeftHandedCoordinateSystem()

    Gets whether viewport uses left handed coordinate system

    Declaration
    public abstract boolean getIsLeftHandedCoordinateSystem()
    Returns
    Type Description
    boolean

    True if left handed, otherwise right handed

    getIsXyzGizmoVisible()

    Gets whether XYZ gizmo visible

    Declaration
    public abstract boolean getIsXyzGizmoVisible()
    Returns
    Type Description
    boolean

    True if visible, otherwise false

    getViewportHeight()

    Gets the current viewport height

    Declaration
    public abstract int getViewportHeight()
    Returns
    Type Description
    int

    The viewport height in pixels

    getViewportWidth()

    Gets the current viewport width

    Declaration
    public abstract int getViewportWidth()
    Returns
    Type Description
    int

    The viewport width in pixels

    getWorld()

    Gets the 3D Scene World from the 3D engine

    Declaration
    public abstract SCRTSceneWorld getWorld()
    Returns
    Type Description
    com.scichart.charting3d.interop.SCRTSceneWorld

    The 3D Scene World

    getWorldDimensions()

    Gets the dimensions of 3D Scene World from the 3D engine

    Declaration
    public abstract Vector3 getWorldDimensions()
    Returns
    Type Description
    Vector3

    The size of 3D Scene World

    isVertexTexturesSupported()

    Gets whether vertex textures are supported on this device

    Declaration
    public abstract boolean isVertexTexturesSupported()
    Returns
    Type Description
    boolean

    True if supported, otherwise returns false

    removeWorldDimensionsObserver(WorldDimensionsChangeObserver observer)

    Removes specified observer from #getWorldDimensions()

    Declaration
    public abstract void removeWorldDimensionsObserver(WorldDimensionsChangeObserver observer)
    Parameters
    Type Name Description
    WorldDimensionsChangeObserver observer

    The observer to remove

    setIsFpsCounterVisible(boolean isFpsCounterVisible)

    Sets whether FPS counter is visible

    Declaration
    public abstract void setIsFpsCounterVisible(boolean isFpsCounterVisible)
    Parameters
    Type Name Description
    boolean isFpsCounterVisible

    The new value

    setIsLeftHandedCoordinateSystem(boolean isLeftHandedCoordinateSystem)

    Sets whether viewport uses left handed coordinate system

    Declaration
    public abstract void setIsLeftHandedCoordinateSystem(boolean isLeftHandedCoordinateSystem)
    Parameters
    Type Name Description
    boolean isLeftHandedCoordinateSystem

    The new value

    setIsXyzGizmoVisible(boolean isXyzGizmoVisible)

    Sets whether XYZ gizmo is visible

    Declaration
    public abstract void setIsXyzGizmoVisible(boolean isXyzGizmoVisible)
    Parameters
    Type Name Description
    boolean isXyzGizmoVisible

    The new value

    Implements

    IDisposable
    Back to top © 2011-2025 SciChart. All rights reserved. | sitemap.xml