UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FMaterialSpriteElement Struct Reference

#include <MaterialBillboardComponent.h>

Public Member Functions

 FMaterialSpriteElement ()
 

Public Attributes

TObjectPtr< class UMaterialInterfaceMaterial
 
TObjectPtr< UCurveFloatDistanceToOpacityCurve
 
uint32 bSizeIsInScreenSpace:1
 
float BaseSizeX
 
float BaseSizeY
 
TObjectPtr< UCurveFloatDistanceToSizeCurve
 

Friends

FArchiveoperator<< (FArchive &Ar, FMaterialSpriteElement &LODElement)
 

Constructor & Destructor Documentation

◆ FMaterialSpriteElement()

FMaterialSpriteElement::FMaterialSpriteElement ( )
inline

Friends And Related Symbol Documentation

◆ operator<<

FArchive & operator<< ( FArchive Ar,
FMaterialSpriteElement LODElement 
)
friend

Member Data Documentation

◆ BaseSizeX

float FMaterialSpriteElement::BaseSizeX

The base width of the sprite, multiplied with the DistanceToSizeCurve.

◆ BaseSizeY

float FMaterialSpriteElement::BaseSizeY

The base height of the sprite, multiplied with the DistanceToSizeCurve.

◆ bSizeIsInScreenSpace

uint32 FMaterialSpriteElement::bSizeIsInScreenSpace

Whether the size is defined in screen-space or world-space.

◆ DistanceToOpacityCurve

TObjectPtr<UCurveFloat> FMaterialSpriteElement::DistanceToOpacityCurve

A curve that maps distance on the X axis to the sprite opacity on the Y axis.

◆ DistanceToSizeCurve

TObjectPtr<UCurveFloat> FMaterialSpriteElement::DistanceToSizeCurve

A curve that maps distance on the X axis to the sprite size on the Y axis.

◆ Material

TObjectPtr<class UMaterialInterface> FMaterialSpriteElement::Material

The material that the sprite is rendered with.


The documentation for this struct was generated from the following file: