docs.unity3d.com
    目次を表示する/隠す

    Interface IMatchVisibilityHandler

    Defines an action that controls the visible/enabled state of objects

    Namespace: Unity.MARS.Query
    Syntax
    [MovedFrom("Unity.MARS")]
    public interface IMatchVisibilityHandler : IAction, ISimulatable

    Methods

    FilterVisibleObjects(QueryState, QueryResult, List<GameObject>, List<GameObject>)

    Called when an object should decide whether or not objects it is associated with should be visible

    Declaration
    void FilterVisibleObjects(QueryState newState, QueryResult queryResult, List<GameObject> objectsToActivate, List<GameObject> objectsToDeactivate)
    Parameters
    Type Name Description
    QueryState newState

    The tracking state this object is switching to

    QueryResult queryResult

    Data associated with this event

    List<GameObject> objectsToActivate

    List that stores which objects this handler wants to enable

    List<GameObject> objectsToDeactivate

    List that stores which objects this handler wants to disable

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)