Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 1.49 KB

Components.md

File metadata and controls

27 lines (22 loc) · 1.49 KB

2020-04-03_09:42:50

Componets

Components are objects that belong to other objects, most often an Actor. Components are the pieces that make up an Actor. Components are added to Actors to give them behaviors/functionality.
[[2020-11-30_10:36:27]] Creating components in constructor
[[2020-08-14_09:32:03]] Creating Components at runtime
They are building blocks. Using a mesh to give an Actor a visual representation is one use of a Component. A Component must have the BlueprintSpawnableComponent metadata specifier in order to be added to an Actor in Unreal Editor. There are two types of Components: UActorComponent and USceneComponent. There are many subclasses of each. USceneComponent inherits from UActorComponent. USceneComponents have a transformation and can he arranged in a hierarchy, making the transformations relative to each other.

Component instances are created using factory functions. TODO: Describe how to do that.

Component instances are destroyed by calling the Destroy Component function.

[[2020-12-31_12:14:21]] Creating objects
[[2020-11-30_10:36:27]] Creating components in constructor
[[2020-08-14_09:32:03]] Creating Components at runtime
[[2020-03-10_21:29:17]] Actor
[[2021-06-05_12:05:01]] Scene Component