docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ViewInterface

    Inheritance
    object
    Interface
    ViewInterface
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Pixyz.View
    Assembly: Unity.Pixyz.SDKPlus.Runtime.dll
    Syntax
    public class ViewInterface : Interface

    Methods

    Name Description
    AddGPUScene(int, int)

    Add a GPU scene to a viewer

    ApplyPlayingAnimations(ulong)

    apply the animations

    CaptureNextFrame(int)

    Debug: capture next frame with renderdoc (only if launched with renderdoc)

    ConfigureFunctionLogger(string, bool, bool, bool)
    CreateGPUScene(uint, bool)
    CreateStreamedViewer(int, int, EncoderSettings, bool)

    create a viewer for streaming

    CreateViewer(int, int, bool, GraphicsContext, int)

    Create a new viewer

    DebugAnimation(uint)

    jaaj

    DestroyGPUScene(int)
    DestroyViewer(int)
    FitCamera(Point3, CameraType, double, int, uint)

    Set the viewer matrices to adjust the camera to the scene

    GetAnimationPlayerInfo(uint)

    packs all AnimationPlayer-related info about an animation in an object

    GetAutoClipping(int, Point3)

    Automatically compute the near and far planes depending on the scene

    GetCompositedImage(int)
    GetD3D11Texture(RenderMap, int)
    GetGLTextureHandle(RenderMap, int)
    GetGlobalGPUScene()

    Returns (and create if it does not exist) a global GPU scene (with the scene root) to be used commonly by several clients

    GetLastError()
    GetOccurrenceIndex(uint, int)

    Returns the occurrence index in the viewer buffers. Can be used for mapping an index retrieved in a GLTextureHandle id map.

    GetSceneIndex(int, int)

    Returns the GPU scene index in the viewer buffers. Can be used for mapping an index retrieved in a GLTextureHandle id map.

    GetViewerMatrices(int)
    GetViewerProperty(string, int)

    Get a viewer property value

    GetViewerPropertyInfo(string, int)

    Get a viewer property info

    GetViewerSize(int)

    Retrieve the viewport size of a viewer

    GetViewerStats(int)
    GetVulkanTexture(RenderMap, int)
    IsAnimationPlaying(uint)

    is this animation playing?

    ListViewerProperties(int)

    Get the list of viewer properties

    OnAfterFramebufferCreate(Action<Params>, CancellationTokenSource)
    OnAfterViewerPropertyChanged(Action<Params>, CancellationTokenSource)
    OnAnimationPausedOrStopped(Action<Params>, CancellationTokenSource)
    OnAnimationPlayedOrResumed(Action<Params>, CancellationTokenSource)
    OnAnimationPlayingStatusChanged(Action<Params>, CancellationTokenSource)
    OnBeforeFramebufferDelete(Action<Params>, CancellationTokenSource)
    OnBeforeViewerPropertyChanged(Action<Params>, CancellationTokenSource)
    PauseAllAnimation()

    pauses all animations

    PauseAnimation(uint)

    pauses an animation

    Pick(int, int, int)
    PickRectangle(int, int, int, int, int, bool)
    PlayAnimation(uint, double, bool)

    plays an animation

    RefreshViewer(int, int, bool)

    Refresh the viewer

    RemoveGPUScene(int, int)

    Remove a viewer root

    ResizeViewer(int, int, int)
    ResumeAllAnimation()

    resumes all animations

    ResumeAnimation(uint)

    resumes an animation

    SetAnimationFrame(uint, ulong)

    set animation's current frame

    SetAnimationLoop(uint, bool)

    set animation's looping status

    SetAnimationSpeed(uint, double)

    set animation's playing speed

    SetViewerMatrices(Matrix4List, Matrix4List, Point2, int)
    SetViewerProperty(string, string, int)

    Set a viewer property value

    StopAllAnimation(bool)

    stops all animations

    StopAnimation(uint, bool)

    stops an animation

    SuitableGPUAvailable()

    returns true if a suitable device is found.

    TakeScreenshot(string, int)
    VisibilityShoot(int, bool, bool, bool, bool)

    Render one frame of the visibility session

    WaitAfterFramebufferCreate(CancellationTokenSource)
    WaitAfterViewerPropertyChanged(CancellationTokenSource)
    WaitAnimationPausedOrStopped(CancellationTokenSource)
    WaitAnimationPlayedOrResumed(CancellationTokenSource)
    WaitAnimationPlayingStatusChanged(CancellationTokenSource)
    WaitBeforeFramebufferDelete(CancellationTokenSource)
    WaitBeforeViewerPropertyChanged(CancellationTokenSource)
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)