Struct SpecificSemanticObjectFilter | Semantic Traits | 0.2.8-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Struct SpecificSemanticObjectFilter

    Filter that checks for semantic object on a specific object

    Namespace: Unity.Semantic.Traits.Queries
    Syntax
    [Serializable]
    [QueryEditor("Specific Object", "Object is [m_ReferenceObject]", null)]
    public struct SpecificSemanticObjectFilter : IQueryFilter

    Properties

    ReferenceObject

    Reference object used to validate the result

    Declaration
    public SemanticObject ReferenceObject { get; set; }
    Property Value
    Type Description
    SemanticObject

    Methods

    Validate(EntityManager, NativeArray<Entity>, UnsafeBitArray)

    Check a list of entity validity and marks non-valid ones inside entitiesValid

    Declaration
    public void Validate(EntityManager entityManager, NativeArray<Entity> entities, UnsafeBitArray entitiesValid)
    Parameters
    Type Name Description
    EntityManager entityManager

    Entity manager

    NativeArray<Entity> entities

    List of entity

    UnsafeBitArray entitiesValid

    Array of bit that marks if an entity is valid for the current query

    Implements
    IQueryFilter.Validate(EntityManager, NativeArray<Entity>, UnsafeBitArray)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023