Class CameraLabelerDrawerAttribute
Attribute for CameraLabelerDrawer types which specifies the CameraLabeler type whose inspector should be drawn using the decorated type.
Implements
Inherited Members
Namespace: UnityEditor.Perception.GroundTruth
Assembly: Unity.Perception.Editor.dll
Syntax
[AttributeUsage(AttributeTargets.Class)]
public class CameraLabelerDrawerAttribute : Attribute, _Attribute
Constructors
CameraLabelerDrawerAttribute(Type)
Creates a new CameraLabelerDrawerAttribute specifying the CameraLabeler type to be drawn
Declaration
public CameraLabelerDrawerAttribute(Type targetLabelerType)
Parameters
Type | Name | Description |
---|---|---|
Type | targetLabelerType | The type whose inspector should be drawn by the decorated type |