Navigation
API > API/Plugins > API/Plugins/USDClasses
Component type that is used to draw bounds, cards and origin axes when translating a prim that has the UsdGeomModelAPI schema applied.
| Name | UUsdDrawModeComponent |
| Type | class |
| Header File | /Engine/Plugins/Runtime/USDCore/Source/USDClasses/Public/USDDrawModeComponent.h |
| Include Path | #include "USDDrawModeComponent.h" |
Syntax
UCLASS (ClassGroup=(USD), Meta=(BlueprintSpawnableComponent))
class UUsdDrawModeComponent : public UPrimitiveComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → USceneComponent → UPrimitiveComponent → UUsdDrawModeComponent
Implements Interfaces
- IAsyncPhysicsStateProcessor
- IInterface_AssetUserData
- IInterface_AsyncCompilation
- INavRelevantInterface
- IPhysicsComponent
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UUsdDrawModeComponent() |
USDDrawModeComponent.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~UUsdDrawModeComponent() |
USDDrawModeComponent.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BoundsColor | FLinearColor | USDDrawModeComponent.h |
|
|
| BoundsMax | FVector | USDDrawModeComponent.h |
|
|
| BoundsMin | FVector | Separate vectors instead of an FBox so we can get Sequencer tracks for these as is. | USDDrawModeComponent.h |
|
| CardGeometry | EUsdModelCardGeometry | USDDrawModeComponent.h |
|
|
| CardTextureXNeg | TObjectPtr< UTexture2D > | USDDrawModeComponent.h |
|
|
| CardTextureXPos | TObjectPtr< UTexture2D > | USDDrawModeComponent.h |
|
|
| CardTextureYNeg | TObjectPtr< UTexture2D > | USDDrawModeComponent.h |
|
|
| CardTextureYPos | TObjectPtr< UTexture2D > | USDDrawModeComponent.h |
|
|
| CardTextureZNeg | TObjectPtr< UTexture2D > | USDDrawModeComponent.h |
|
|
| CardTextureZPos | TObjectPtr< UTexture2D > | USDDrawModeComponent.h |
|
|
| DrawMode | EUsdDrawMode | USDDrawModeComponent.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AuthoredFaces | int32 | EUsdModelCardFace flags to enable the card faces to draw. | USDDrawModeComponent.h | |
| MaterialInstances | TArray< TObjectPtr< UMaterialInstance > > | USDDrawModeComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
EUsdModelCardFace GetAuthoredFaces() |
USDDrawModeComponent.h | ||
UTexture2D * GetTextureForFace
(
EUsdModelCardFace Face |
USDDrawModeComponent.h |
|
|
void SetAuthoredFaces
(
EUsdModelCardFace NewAuthoredFaces |
USDDrawModeComponent.h | ||
void SetBoundsColor
(
FLinearColor NewColor |
USDDrawModeComponent.h |
|
|
void SetBoundsMax
(
const FVector& NewMax |
USDDrawModeComponent.h |
|
|
void SetBoundsMin
(
const FVector& NewMin |
USDDrawModeComponent.h |
|
|
void SetCardGeometry
(
EUsdModelCardGeometry NewGeometry |
USDDrawModeComponent.h |
|
|
void SetCardTextureXNeg
(
UTexture2D* NewTexture |
USDDrawModeComponent.h |
|
|
void SetCardTextureXPos
(
UTexture2D* NewTexture |
USDDrawModeComponent.h |
|
|
void SetCardTextureYNeg
(
UTexture2D* NewTexture |
USDDrawModeComponent.h |
|
|
void SetCardTextureYPos
(
UTexture2D* NewTexture |
USDDrawModeComponent.h |
|
|
void SetCardTextureZNeg
(
UTexture2D* NewTexture |
USDDrawModeComponent.h |
|
|
void SetCardTextureZPos
(
UTexture2D* NewTexture |
USDDrawModeComponent.h |
|
|
void SetDrawMode
(
EUsdDrawMode NewDrawMode |
USDDrawModeComponent.h |
|
|
void SetTextureForFace
(
EUsdModelCardFace Face, |
USDDrawModeComponent.h |
|
Overridden from UPrimitiveComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual HHitProxy * CreateMeshHitProxy
(
int32 SectionIndex, |
USDDrawModeComponent.h | ||
virtual FPrimitiveSceneProxy * CreateSceneProxy() |
USDDrawModeComponent.h | ||
virtual void GetUsedMaterials
(
TArray< UMaterialInterface* >& OutMaterials, |
USDDrawModeComponent.h |
Overridden from USceneComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FBoxSphereBounds CalcBounds
(
const FTransform& LocalToWorld |
USDDrawModeComponent.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
USDDrawModeComponent.h |