docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CameraFrameReceivedEventUnit

    Uses an ARCameraManagerListener to listen for a camera-frame-received event on the visual scripting event bus and assign the ARCameraFrameEventArgs to a newly triggered Flow.

    Inheritance
    object
    CameraFrameReceivedEventUnit
    Namespace: UnityEngine.XR.ARFoundation.VisualScripting
    Assembly: Unity.XR.ARFoundation.VisualScripting.dll
    Syntax
    public sealed class CameraFrameReceivedEventUnit : GameObjectEventUnit<ARCameraFrameEventArgs>

    Properties

    MessageListenerType

    The MessageListener type.

    Declaration
    public override Type MessageListenerType { get; }
    Property Value
    Type Description
    Type

    frameEventArgs

    ARCameraFrameEventArgs output.

    Declaration
    public ValueOutput frameEventArgs { get; }
    Property Value
    Type Description
    ValueOutput

    hookName

    The hook name.

    Declaration
    protected override string hookName { get; }
    Property Value
    Type Description
    string

    Methods

    AssignArguments(Flow, ARCameraFrameEventArgs)

    Assigns args to flow.

    Declaration
    protected override void AssignArguments(Flow flow, ARCameraFrameEventArgs args)
    Parameters
    Type Name Description
    Flow flow

    The flow.

    ARCameraFrameEventArgs args

    The arguments.

    Definition()

    Unit definition.

    Declaration
    protected override void Definition()
    In This Article
    Back to top
    Copyright © 2025 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)