docs.unity3d.com
Version: 

    Class VariantComponent

    A variant component is a component that contains variant definitions for an occurrence

    Base class: Component

    classDiagram
        class VariantComponent
        Component <|-- VariantComponent
        VariantComponent : +core.Ident Id
        VariantComponent : +core.InheritableBool VariantSensitive
        VariantComponent : +core.String GroupName
    

    Functions accepting this type or a list of this type as a parameter:

    • scene.getVariantComponentsDefinitions
    • scene.getComponentOccurrence
    • scene.getComponentType
    • scene.setComponentOccurrence
    • scene.getAnnotationGroups
    • view.drawCappingPlane
    • core.cloneEntity
    • core.deleteEntities
    • core.entityExists
    • core.getEntityType
    • core.getEntityTypeString
    • core.addCustomProperties
    • core.addCustomProperty
    • core.getProperties
    • core.getProperty
    • core.getPropertyInfo
    • core.hasCustomProperty
    • core.hasProperty
    • core.listProperties
    • core.listPropertiesBatch
    • core.removeCustomProperty
    • core.setProperties
    • core.setProperty
    • core.supportCustomProperties
    • core.unsetProperty
    • scene.linkPropertyToAnimation
    • scene.unlinkPropertyToAnimation
    Inheritance
    VariantComponent
    Namespace: Scene
    Syntax
    Version 2025.2.0.1
    • 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.