FMaterialSpriteElement

Windows
MacOS
Linux

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

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback