Language:
Page Info
Engine Version:

Within

Choose your OS:

The Within class specifier indicates that objects of this class cannot exist outside of an instance of ClassName. In order to create an object of this class, you must specify an instance of ClassName as the Outer object.

Syntax

Within=OuterClassName

Example

UCLASS(Within=PlayerController)
class UPlayerInput : public UObject
{
    ...
}