FMaterialSpriteElement

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

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()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss