docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TextureRandomizer

    Randomizes the material texture of objects tagged with a TextureRandomizerTag

    Inheritance
    object
    Randomizer
    TextureRandomizer
    Inherited Members
    Randomizer.enabled
    Randomizer.scenario
    Randomizer.tagManager
    Randomizer.OnCreate()
    Randomizer.OnIterationEnd()
    Randomizer.OnScenarioComplete()
    Randomizer.OnStartRunning()
    Randomizer.OnStopRunning()
    Randomizer.OnUpdate()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEngine.Experimental.Perception.Randomization.Randomizers.SampleRandomizers
    Assembly: solution.dll
    Syntax
    [Serializable]
    [AddRandomizerMenu("Perception/Texture Randomizer")]
    public class TextureRandomizer : Randomizer

    Fields

    Name Description
    texture

    The list of textures to sample and apply to tagged objects

    Methods

    Name Description
    OnIterationStart()

    Randomizes the material texture of tagged objects at the start of each scenario iteration

    In This Article
    Back to top
    Copyright © 2024 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)