FLightShaderParameters

Shader paraneter structure for rendering lights.

Windows
MacOS
Linux

Syntax

class FLightShaderParameters

Remarks

Shader paraneter structure for rendering lights.

Variables

Constructors

Name Description

Public function

FLightShaderParameters()

Functions

Name Description

Public function Static

FUniformBuff...

 

CreateUniformBuffer

(
    const FLightShaderParameters& InCo...,
    EUniformBufferUsage InUsage
)

Classes

Name

Description

Public struct

FTypeInfo

Typedefs

Name

Description

zzLastMemberId

zzMemberIdColor

Color of the light.

zzMemberIdDirection

Direction of the light if applies.

zzMemberIdFalloffExponent

The exponent for the falloff of the light intensity from the distance.

zzMemberIdInvRadius

1 / light's falloff radius from Position.

zzMemberIdPosition

Position of the light in the world space.

zzMemberIdRectLightBarnCosAngle

Barn door angle for rect light.

zzMemberIdRectLightBarnLength

Barn door length for rect light.

zzMemberIdSoftSourceRadius

Radius of the soft source.

zzMemberIdSourceLength

Other dimensions of the light source for rect light specifically.

zzMemberIdSourceRadius

Radius of the point light.

zzMemberIdSourceTexture

Texture of the rect light.

zzMemberIdSpecularScale

Factor to applies on the specular.

zzMemberIdSpotAngles

Dimensions of the light, for spot light, but also.

zzMemberIdTangent

One tangent of the light if applies.

zzTThisStruct

References

Module

Engine

Header

Runtime/Engine/Public/SceneManagement.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