docs.unity3d.com
    Show / Hide Table of Contents

    Class TrackedMeshFilter

    Tracks and applies variant changes to a MeshFilter.

    Inheritance
    Object
    TrackedObject
    TrackedMeshFilter
    Inherited Members
    TrackedObject.Target
    TrackedObject.TrackedProperties
    TrackedObject.AddTrackedProperty<T>(String)
    TrackedObject.AddTrackedProperty(ITrackedProperty)
    TrackedObject.RemoveTrackedProperty(ITrackedProperty)
    TrackedObject.GetTrackedProperty<T>(String, Boolean)
    TrackedObject.GetTrackedProperty(String)
    TrackedObject.CreateCustomTrackedProperty(String)
    TrackedObject.PostApplyTrackedProperties()
    Namespace: UnityEngine.Localization.PropertyVariants.TrackedObjects
    Syntax
    [Serializable]
    [DisplayName("Mesh Filter", null)]
    [CustomTrackedObject(typeof(MeshFilter), false)]
    public class TrackedMeshFilter : TrackedObject, ISerializationCallbackReceiver

    Methods

    ApplyLocale(Locale, Locale)

    Apply the TrackedProperties for variantLocale. If a value does not exist for this locale then the value for defaultLocale is used as a fallback.

    Declaration
    public override AsyncOperationHandle ApplyLocale(Locale variantLocale, Locale defaultLocale)
    Parameters
    Type Name Description
    Locale variantLocale

    The chosen variant to apply to Target.

    Locale defaultLocale

    The fallback Locale to use when a value does not exist for this variant.

    Returns
    Type Description
    AsyncOperationHandle
    Overrides
    TrackedObject.ApplyLocale(Locale, Locale)

    CanTrackProperty(String)

    Can be used to reject certain properties.

    Declaration
    public override bool CanTrackProperty(string propertyPath)
    Parameters
    Type Name Description
    String propertyPath
    Returns
    Type Description
    Boolean
    Overrides
    TrackedObject.CanTrackProperty(String)
    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