class MAGES::SceneGraph::Editor::EffectPropertyPropertyField

Overview

A property field that is meant to be an eventual child of a EffectPropertyField. Used in order to filter EffectData derivative properties based on the current action editing context. This result can also be achieved by overriding the whole editor, but it would be much more destructive than this localized solution. More…

class EffectPropertyPropertyField: public PropertyField
{
public:
    // properties

    System.Type ContainerType;

    // methods

    EffectPropertyPropertyField(
        SerializedProperty property,
        System.Type containerType
    );
};

Detailed Documentation

A property field that is meant to be an eventual child of a EffectPropertyField. Used in order to filter EffectData derivative properties based on the current action editing context. This result can also be achieved by overriding the whole editor, but it would be much more destructive than this localized solution.

Properties

System.Type ContainerType

Gets the container type.

Methods

EffectPropertyPropertyField(
    SerializedProperty property,
    System.Type containerType
)

Initializes a new instance of the EffectPropertyPropertyField class.

Parameters:

property

The property to bind to.

containerType

The container type (i.e. a derived class of EffectData.