docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SensorShapeValidator

    Check that List Sensors are the same shape as the previous ones.

    Inheritance
    object
    SensorShapeValidator
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.MLAgents.Sensors
    Assembly: Unity.ML-Agents.dll
    Syntax
    public class SensorShapeValidator

    Methods

    ValidateSensors(List<ISensor>)

    Check that the List Sensors are the same shape as the previous ones. If this is the first List of Sensors being checked, its Sensor sizes will be saved.

    Declaration
    public void ValidateSensors(List<ISensor> sensors)
    Parameters
    Type Name Description
    List<ISensor> sensors

    List of Sensors to validate

    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)