Navigation
API > API/Runtime > API/Runtime/Engine
| Name | IPrimitiveComponent |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/ComponentInterfaces.h |
| Include Path | #include "Components/ComponentInterfaces.h" |
Syntax
class IPrimitiveComponent : public TComponentInterfaceBase< IPrimitiveComponent >
Inheritance Hierarchy
- TComponentInterfaceBase → IPrimitiveComponent
Derived Classes
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
HHitProxy * CreateMeshHitProxy
(
int32 SectionIndex, |
Components/ComponentInterfaces.h | ||
HHitProxy * CreatePrimitiveHitProxies
(
TArray< TRefCountPtr< HHitProxy > >& OutHitProxies |
Components/ComponentInterfaces.h | ||
void CreateRenderState
(
FRegisterComponentContext* Context |
Components/ComponentInterfaces.h | ||
FPrimitiveSceneProxy * CreateSceneProxy() |
Components/ComponentInterfaces.h | ||
void DestroyRenderState() |
Components/ComponentInterfaces.h | ||
const FBoxSphereBounds & GetBounds() |
Components/ComponentInterfaces.h | ||
ULevel * GetComponentLevel() |
Components/ComponentInterfaces.h | ||
FString GetFullName() |
Components/ComponentInterfaces.h | ||
float GetLastRenderTimeOnScreen() |
Components/ComponentInterfaces.h | ||
IPrimitiveComponent * GetLODParentPrimitive() |
Components/ComponentInterfaces.h | ||
float GetMinDrawDistance() |
Components/ComponentInterfaces.h | ||
FString GetName() |
Components/ComponentInterfaces.h | ||
T * GetOwner () |
Helper to have typed owners | Components/ComponentInterfaces.h | |
| Components/ComponentInterfaces.h | |||
FString GetOwnerName() |
Components/ComponentInterfaces.h | ||
void GetPrimitiveStats
(
FPrimitiveStats& PrimitiveStats |
Components/ComponentInterfaces.h | ||
FSceneInterface * GetScene() |
Components/ComponentInterfaces.h | ||
FPrimitiveSceneProxy * GetSceneProxy() |
Components/ComponentInterfaces.h | ||
| Get the streamable Nanite asset if one exists for this type. | Components/ComponentInterfaces.h | ||
void GetStreamingRenderAssetInfo
(
FStreamingTextureLevelContext& LevelContext, |
Get all streamable render assets for the given level context. This method is for the legacy static/dynamic streaming managers. | Components/ComponentInterfaces.h | |
float GetStreamingScale() |
Components/ComponentInterfaces.h | ||
FRenderAssetOwnerStreamingState & GetStreamingState() |
Streaming utilities. | Components/ComponentInterfaces.h | |
FTransform GetTransform() |
Components/ComponentInterfaces.h | ||
T * GetUObject () |
Components/ComponentInterfaces.h | ||
const UObject * GetUObject () |
Components/ComponentInterfaces.h | ||
UObject * GetUObject () |
Components/ComponentInterfaces.h | ||
const T * GetUObject () |
Helper to obtain typed UObjects | Components/ComponentInterfaces.h | |
void GetUsedMaterials
(
TArray< UMaterialInterface* >& OutMaterials, |
Components/ComponentInterfaces.h | ||
UWorld * GetWorld() |
Components/ComponentInterfaces.h | ||
bool IsMipStreamingForced() |
Components/ComponentInterfaces.h | ||
bool IsRegistered() |
Components/ComponentInterfaces.h | ||
bool IsRenderStateCreated() |
Components/ComponentInterfaces.h | ||
bool IsRenderStateDirty() |
Components/ComponentInterfaces.h | ||
bool IsStaticMobility() |
Components/ComponentInterfaces.h | ||
bool IsUnreachable() |
Components/ComponentInterfaces.h | ||
void MarkRenderStateDirty() |
Components/ComponentInterfaces.h | ||
void OnRenderAssetFirstLodChange
(
const UStreamableRenderAsset* RenderAsset, |
Components/ComponentInterfaces.h | ||
void PrecachePSOs() |
Components/ComponentInterfaces.h | ||
bool ShouldCreateRenderState() |
Components/ComponentInterfaces.h |
Public Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetStreamableRenderAssetInfo
(
TArray< FStreamingRenderAssetPrimitiveInfo >& StreamableRenderAssets |
Components/ComponentInterfaces.h |