UE4 Class Specifiers Flashcards
11 Questions
100 Views

UE4 Class Specifiers Flashcards

Created by
@ManeuverableForgetMeNot2590

Questions and Answers

What does the Abstract Specifier indicate?

  • Class is meaningful on its own
  • Class can be placed in Levels
  • Class can be instantiated
  • Class is an abstract base class (correct)
  • What does the AdvancedClassDisplay Specifier do?

    Forces all properties of the class to show only in the advanced sections of details panels.

    What is the purpose of AutoCollapseCategories?

    Negates AutoExpandCategories for listed categories.

    What does Blueprintable signify?

    <p>Exposes the class as an acceptable base class for creating Blueprints.</p> Signup and view all the answers

    What does the Const Specifier indicate?

    <p>All properties and functions in the class are const.</p> Signup and view all the answers

    What does the MinimalAPI Specifier do?

    <p>Exports only class type information</p> Signup and view all the answers

    What is the purpose of the DependsOn Specifier?

    <p>Specifies classes that must be compiled before this class.</p> Signup and view all the answers

    What does the HideCategories specifier do?

    <p>Hides specified categories from the user.</p> Signup and view all the answers

    What does the Transient Specifier imply?

    <p>Objects of this class will never be saved to disk.</p> Signup and view all the answers

    What is indicated by the NotBlueprintable specifier?

    <p>Class is not an acceptable base class for creating Blueprints.</p> Signup and view all the answers

    What does the ShowFunctions Specifier do?

    <p>Shows specified functions in a property viewer.</p> Signup and view all the answers

    Study Notes

    Class Specifiers in Unreal Engine 4 (UE4)

    • Abstract: Marks the class as an abstract base class, disallowing Actors of this class from being placed in Levels. Example: ATriggerBase is abstract, while ATriggerBox is not.

    • AdvancedClassDisplay: Forces properties to display only in advanced sections of detail panels. Individual properties can override this using the SimpleDisplay specifier.

    • AutoCollapseCategories: Negates effects of AutoExpandCategories for specified categories from a parent class.

    • AutoExpandCategories: Automatically expands specified categories in the Unreal Editor Property window. Use class name to auto-expand variables without categories.

    • Blueprintable: Allows the class to serve as a base for Blueprints. Default is NotBlueprintable unless inherited differently.

    • BlueprintType: Designates the class for use as a variable type in Blueprints.

    • ClassGroup: Includes the class and subclasses in the specified group in the Unreal Editor's Actor Browser when Group View is enabled.

    • CollapseCategories: Prevents property grouping in categories within the Property windows and propagates to child classes, overridable by DontCollapseCategories.

    • Config: Enables the class to store data in configuration files (.ini). Inherited by child classes, but can change the config file by redeclaring.

    • Const: All class properties and functions are const, enabling const export. It's inherited by subclasses.

    • ConversionRoot: Limits a subclass to convert only to child classes of the first root class in the hierarchy.

    • CustomConstructor: Stops automatic generation of the class constructor declaration.

    • DefaultToInstanced: Marks instances of the class as instanced, meaning components are duplicated on construction. Inherited by subclasses.

    • DependsOn: Specifies classes that must be compiled before this one. Useful when using structs or enums from other classes.

    • Deprecated: Indicates the class is deprecated, and its objects will not be serialized. Inherited by subclasses.

    • DontAutoCollapseCategories: Negates inherited AutoCollapseCategories specifier for specified categories.

    • DontCollapseCategories: Cancels inherited CollapseCategories specifier from a base class.

    • EditInlineNew: Allows creation of class objects from the Property window in the Unreal Editor. Propagated to child classes.

    • HideCategories: Lists categories to be hidden from the user entirely; can use class names to hide properties without specific categories.

    • HideDropdown: Prevents the class from appearing in property window combo boxes.

    • HideFunctions: Hides all functions within specified categories from the user.

    • HideFunctions (specific): Specifically hides named functions from user visibility.

    • Intrinsic: Indicates the class is declared directly in C++, not generated by Unreal Header Tool. Not advised for new classes.

    • MinimalAPI: Enables only class type information to be exported, improving compile times by limiting inaccessible functions to external modules.

    • NoExport: Prevents inclusion of the class's declaration in automatically generated C++ header files, requiring manual definition in a separate header.

    • NonTransient: Negates a Transient specifier from a base class, allowing for saving of objects to disk.

    • NotBlueprintable: Specifies that the class cannot be used as a Blueprint base. Default and inherited by subclasses.

    • NotPlaceable: Indicates class objects cannot be placed in Levels or Blueprints, overriding any inherited Placeable specifier.

    • PerObjectConfig: Stores configuration on a per-object basis in the .ini file, allowing each object to have a dedicated section.

    • Placeable: Marks the class as one that can be created and placed in the Editor. Propagates to subclasses, which can override.

    • ShowCategories: Negates inherited HideCategories specifier for specified categories.

    • ShowFunctions: Displays all functions in listed categories within a property viewer.

    • ShowFunctions (specific): Reveals specific named functions in property viewers.

    • Transient: Indicates class objects will not be saved to disk, useful for non-persistent native classes like players. Propagated but can be overridden by NonTransient.

    • Within: Restricts object existence of this class to the context of an OuterClassName instance, requiring an Outer Object during creation.

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Description

    Test your knowledge of Unreal Engine 4 class specifiers with these flashcards. This quiz covers key concepts such as abstract classes and advanced display options, helping you understand their implications in game development. Perfect for both beginners and experienced developers looking to refresh their skills.

    Use Quizgecko on...
    Browser
    Browser