Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Components
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Components/MaterialBillboardComponent.h |
Include | #include "Components/MaterialBillboardComponent.h" |
Syntax
struct FMaterialSpriteElement
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
float | BaseSizeX | The base width of the sprite, multiplied with the DistanceToSizeCurve. |
![]() |
float | BaseSizeY | The base height of the sprite, multiplied with the DistanceToSizeCurve. |
![]() |
uint32: 1 | bSizeIsInScreenSpace | Whether the size is defined in screen-space or world-space. |
![]() |
TObjectPtr< UCurveFloat > | DistanceToOpacityCurve | A curve that maps distance on the X axis to the sprite opacity on the Y axis. |
![]() |
TObjectPtr< UCurveFloat > | DistanceToSizeCurve | A curve that maps distance on the X axis to the sprite size on the Y axis. |
![]() |
TObjectPtr< class UMaterialInterface > | Material | The material that the sprite is rendered with. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |