FMaterialSpriteElement

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/MaterialBillboardComponent.h

Include

#include "Components/MaterialBillboardComponent.h"

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

TObjectPtr< UCu...

 

DistanceToOpacityCurve

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

Public variable

TObjectPtr< UCu...

 

DistanceToSizeCurve

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

Public variable

TObjectPtr< cla...

 

Material

The material that the sprite is rendered with.

Constructors

Name Description

Public function

FMaterialSpriteElement()