FMaterialSpriteElement

Syntax

struct FMaterialSpriteElement

Variables

Name Description

Public variable

float

 

BaseSizeX

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

Public variable

float

 

BaseSizeY

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

Public variable

uint32 : 1

 

bSizeIsInScreenSpace

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

Public variable

UCurveFloat ...

 

DistanceToOpacityCurve

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

Public variable

UCurveFloat ...

 

DistanceToSizeCurve

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

Public variable

UMaterialInterf ...

 

Material

The material that the sprite is rendered with.

Constructors

Name Description

Public function

FMaterialSpriteElement()

References

Module

Engine

Header

Runtime/Engine/Classes/Components/MaterialBillboardComponent.h