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

    Class IRelationGenericMethods

    Inheritance
    Object
    IRelationGenericMethods
    Namespace: Unity.MARS.Query
    Syntax
    public static class IRelationGenericMethods

    Methods

    PassesRelation<T>(IRelation<T>, ref T, ref T)

    Collapses a relation's match rating into a pass/fail.

    Declaration
    public static bool PassesRelation<T>(this IRelation<T> relation, ref T child1Value, ref T child2Value)
    Parameters
    Type Name Description
    IRelation<T> relation

    The relation to evaluate

    T child1Value
    T child2Value
    Returns
    Type Description
    Boolean

    True if the given trait data passes the filter function, false otherwise

    Type Parameters
    Name Description
    T

    The type of data the relation uses

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