LensFlareComponent
Class in Engine · Engine.LensFlareComponent · native, editinlinenew
Object › Component › ActorComponent › PrimitiveComponent › LensFlareComponent
Using it from Lua
h7.find_all("LensFlareComponent") -- live instances
h7.find_class("Engine.LensFlareComponent") -- the class
h7.hook("Engine.LensFlareComponent.CreateAndSetMaterialInstanceConstant", fn)
Structs
LensFlareElementInstance
LensFlareElementMaterials
Properties
| Name | Type | Notes |
bAutoActivate | bool | |
bHasSeparateTranslucency | bool | transient |
bHasTranslucency | bool | transient |
bHasUnlitDistortion | bool | transient |
bHasUnlitTranslucency | bool | transient |
bIsActive | bool | transient |
bUsesSceneColor | bool | transient |
bUseTrueConeCalculation | bool | transient |
bVisibleForMobile | bool | |
ConeFudgeFactor | float | transient |
InnerCone | float | transient |
Materials | array<LensFlareElementMaterials> | transient |
MinStrength | float | transient |
NextTraceTime | float | |
OuterCone | float | transient |
PreviewInnerCone | DrawLightConeComponent | const |
PreviewOuterCone | DrawLightConeComponent | const |
PreviewRadius | DrawLightRadiusComponent | const |
Radius | float | transient |
ReleaseResourcesFence | pointer | const, native |
SourceColor | linearcolor | |
Template | LensFlare | const |
Functions
| Name | Declaration |
CreateAndSetMaterialInstanceConstant | function MaterialInstanceConstant CreateAndSetMaterialInstanceConstant(int ElementIndex) |
GetMaterial | native function MaterialInterface GetMaterial(int ElementIndex) |
SetIsActive | native function SetIsActive(bool bInIsActive) |
SetMaterial | native function SetMaterial(int ElementIndex, MaterialInterface Material) |
SetSourceColor | native function SetSourceColor(linearcolor InSourceColor) |
SetTemplate | final native function SetTemplate(LensFlare NewTemplate, bool bForceSet = FALSE) |
Default values
NextTraceTime=0.0
bAutoActivate=true
bTickInEditor=true
TickGroup=TG_PostAsyncWork
bAllowApproximateOcclusion=false
bFirstFrameOcclusion=true
bIgnoreNearPlaneIntersection=true
SourceColor=(R=1.0,G=1.0,B=1.0,A=1.0)
bVisibleForMobile=false
Inherited