Navigation
API > API/Plugins > API/Plugins/USDClasses
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- UPrimitiveComponent
- UUsdDrawModeComponent
References
| Module | USDClasses |
| Header | /Engine/Plugins/Importers/USDImporter/Source/USDClasses/Public/USDDrawModeComponent.h |
| Include | #include "USDDrawModeComponent.h" |
Syntax
UCLASS (ClassGroup=(USD), Meta=(BlueprintSpawnableComponent))
class UUsdDrawModeComponent : public UPrimitiveComponent
Remarks
Component type that is used to draw bounds, cards and origin axes when translating a prim that has the UsdGeomModelAPI schema applied.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FLinearColor | BoundsColor | ||
| FVector | BoundsMax | ||
| FVector | BoundsMin | Separate vectors instead of an FBox so we can get Sequencer tracks for these as is. | |
| EUsdModelCardGeometry | CardGeometry | ||
| TObjectPtr< UTexture2D > | CardTextureXNeg | ||
| TObjectPtr< UTexture2D > | CardTextureXPos | ||
| TObjectPtr< UTexture2D > | CardTextureYNeg | ||
| TObjectPtr< UTexture2D > | CardTextureYPos | ||
| TObjectPtr< UTexture2D > | CardTextureZNeg | ||
| TObjectPtr< UTexture2D > | CardTextureZPos | ||
| EUsdDrawMode | DrawMode |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| EUsdModelCardFace | |||
| UTexture2D * | GetTextureForFace
(
EUsdModelCardFace Face |
||
| void | SetAuthoredFaces
(
EUsdModelCardFace NewAuthoredFaces |
||
| void | SetBoundsColor
(
FLinearColor NewColor |
||
| void | SetBoundsMax
(
const FVector& NewMax |
||
| void | SetBoundsMin
(
const FVector& NewMin |
||
| void | SetCardGeometry
(
EUsdModelCardGeometry NewGeometry |
||
| void | SetCardTextureXNeg
(
UTexture2D* NewTexture |
||
| void | SetCardTextureXPos
(
UTexture2D* NewTexture |
||
| void | SetCardTextureYNeg
(
UTexture2D* NewTexture |
||
| void | SetCardTextureYPos
(
UTexture2D* NewTexture |
||
| void | SetCardTextureZNeg
(
UTexture2D* NewTexture |
||
| void | SetCardTextureZPos
(
UTexture2D* NewTexture |
||
| void | SetDrawMode
(
EUsdDrawMode NewDrawMode |
||
| void | SetTextureForFace
(
EUsdModelCardFace Face, |
Overridden from UPrimitiveComponent
| Type | Name | Description | |
|---|---|---|---|
| HHitProxy * | CreateMeshHitProxy
(
int32 SectionIndex, |
Creates a HHitProxy to represent the component at SectionIndex / MaterialIndex | |
| FPrimitiveSceneProxy * | Creates a proxy to represent the primitive to the scene manager in the rendering thread. | ||
| void | GetUsedMaterials
(
TArray< UMaterialInterface* >& OutMaterials, |
Retrieves the materials used in this component |
Overridden from USceneComponent
| Type | Name | Description | |
|---|---|---|---|
| FBoxSphereBounds | CalcBounds
(
const FTransform& LocalToWorld |
Calculate the bounds of the component. Default behavior is a bounding box/sphere of zero size. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |