Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- UPrimitiveComponent
- UDebugDrawComponent
- USmartObjectDebugRenderingComponent
References
| Module | SmartObjectsModule |
| Header | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectDebugRenderingComponent.h |
| Include | #include "SmartObjectDebugRenderingComponent.h" |
Syntax
UCLASS&40;ClassGroup&61;Debug, NotBlueprintable, NotPlaceable&41;
class USmartObjectDebugRenderingComponent : public UDebugDrawComponent
Remarks
Simple UDebugDrawComponent to inherit from to use a FSmartObjectDebugSceneProxy. Derived classes can set ViewFlagName at construction to control relevancy.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FDelegateHandle | CanvasDebugDrawDelegateHandle | ||
| FString | ViewFlagName |
Constructors
| Type | Name | Description | |
|---|---|---|---|
USmartObjectDebugRenderingComponent
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | DebugDraw
(
FDebugRenderSceneProxy* DebugProxy |
||
| void | DebugDrawCanvas
(
UCanvas* Canvas, |
Overridden from UDebugDrawComponent
| Type | Name | Description | |
|---|---|---|---|
| FDebugRenderSceneProxy * | Method that derived class should override to create the scene proxy and customize a custom delegate helper (if any) |
Overridden from UActorComponent
| Type | Name | Description | |
|---|---|---|---|
| void | OnRegister () |
Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called. | |
| void | OnUnregister () |
Called when a component is unregistered. |