Compartilhar via


_OLECCONTEXT Enum

Definition

Specifies the state context that is affected by an OnComponentEnterState or OnComponentExitState change.

public enum class _OLECCONTEXT
public enum class _OLECCONTEXT
enum _OLECCONTEXT
public enum _OLECCONTEXT
type _OLECCONTEXT = 
Public Enum _OLECCONTEXT
Inheritance
_OLECCONTEXT

Fields

Name Value Description
oleccontextAll 0

Indicates that all state contexts in the state context tree are affected.

oleccontextMine 1

Indicates that the components in the state context of a component manager are affected.

oleccontextOthers 2

Indicates that all state contexts outside of the state context of a component manager are affected.

Remarks

FCreateSubComponentManager enables the creation of a hierarchical tree of component managers. This tree is used to maintain multiple contexts with regard to the olecstate. These contexts are referred to as state contexts.

Each component manager in the tree defines a state context. The components that are registered with a particular component manager or any of its descendents are part of the state context of that component manager. Calls to OnComponentEnterState or FOnComponentExitState can be used to affect all components, only the components that are in the state context of a component manager, or only those components that are outside of the state context of a component manager.

Note

FInState is used to query the state context of a component manager at its root.

Applies to