Class
UDirectionalLightComponent
: ULightComponent : ULightComponentBase : USceneComponent : UActorComponent : UObject0x00x0470
Members 41
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x04 | ShadowCascadeBiasDistribution | float | 10 flags | 1 | |
| 0x01 | bEnableLightShaftOcclusion : 1bit 0 | bool | 7 flags | false | |
| 0x04 | OcclusionMaskDarkness | float | 9 flags | 0.05 | |
| 0x04 | OcclusionDepthRange | float | 9 flags | 1e+05 | |
| 0x18 | LightShaftOverrideDirection | FVector | 10 flags | {X=0, Y=0, Z=0} | |
| 0x04 | WholeSceneDynamicShadowRadius | float | Deprecated+5 flags | 20000 | |
| 0x04 | DynamicShadowDistanceMovableLight | float | 9 flags | 40000 | |
| 0x04 | DynamicShadowDistanceStationaryLight | float | 9 flags | 0 | |
| 0x04 | DynamicShadowCascades | int32 | 9 flags | 4 | |
| 0x04 | CascadeDistributionExponent | float | 9 flags | 3 | |
| 0x04 | CascadeTransitionFraction | float | 9 flags | 0.1 | |
| 0x04 | ShadowDistanceFadeoutFraction | float | 9 flags | 0.1 | |
| 0x01 | bUseInsetShadowsForMovableObjects : 1bit 0 | bool | 7 flags | true | |
| 0x03DD | 0x03 | padding / unreflected | |||
| 0x04 | FarShadowCascadeCount | int32 | 9 flags | 0 | |
| 0x04 | FarShadowDistance | float | 9 flags | 3e+05 | |
| 0x04 | DistanceFieldShadowDistance | float | 8 flags | 51200 | |
| 0x04 | ForwardShadingPriority | int32 | 9 flags | 0 | |
| 0x04 | LightSourceAngle | float | 9 flags | 0.5357 | |
| 0x04 | LightSourceSoftAngle | float | 9 flags | 0 | |
| 0x04 | ShadowSourceAngleFactor | float | 9 flags | 1 | |
| 0x04 | TraceDistance | float | 9 flags | 10000 | |
| 0x01 | bUsedAsAtmosphereSunLight : 1bit 0 | bool | Deprecated+3 flags | false | |
| 0x01 | bAtmosphereSunLight : 1bit 1 | bool | 6 flags | true | |
| 0x0401 | 0x03 | padding / unreflected | |||
| 0x04 | AtmosphereSunLightIndex | int32 | 9 flags | 0 | |
| 0x10 | AtmosphereSunDiskColorScale | FLinearColor | 9 flags | {R=1, G=1, B=1, A=1} | |
| 0x01 | bPerPixelAtmosphereTransmittance : 1bit 0 | bool | 7 flags | false | |
| 0x01 | bCastShadowsOnClouds : 1bit 1 | bool | 6 flags | false | |
| 0x01 | bCastShadowsOnAtmosphere : 1bit 2 | bool | 6 flags | false | |
| 0x01 | bCastCloudShadows : 1bit 3 | bool | 6 flags | false | |
| 0x0419 | 0x03 | padding / unreflected | |||
| 0x04 | CloudShadowStrength | float | 10 flags | 1 | |
| 0x04 | CloudShadowOnAtmosphereStrength | float | 10 flags | 1 | |
| 0x04 | CloudShadowOnSurfaceStrength | float | 10 flags | 1 | |
| 0x04 | CloudShadowDepthBias | float | 9 flags | 0 | |
| 0x04 | CloudShadowExtent | float | 9 flags | 150 | |
| 0x04 | CloudShadowMapResolutionScale | float | 9 flags | 1 | |
| 0x04 | CloudShadowRaySampleCountScale | float | 9 flags | 1 | |
| 0x10 | CloudScatteredLuminanceScale | FLinearColor | 9 flags | {R=1, G=1, B=1, A=1} | |
| 0x10 | LightmassSettings | FLightmassDirectionalLightSettings | 3 flags | {LightSourceAngle=1} | |
| 0x01 | bCastModulatedShadows : 1bit 0 | bool | 7 flags | false | |
| 0x0459 | 0x03 | padding / unreflected | |||
| 0x04 | ModulatedShadowColor | FColor | 10 flags | {B=128, G=128, R=128, A=255} | |
| 0x04 | ShadowAmount | float | 10 flags | 1 | |
| 0x0464 | 0x0C | unreflected bytes to end of UDirectionalLightComponent | |||
Inherited from ULightComponent 39
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x04 | Temperature | float | 9 flags | 6500 | |
| 0x04 | MaxDrawDistance | float | 6 flags | 0 | |
| 0x04 | MaxDistanceFadeRange | float | 6 flags | 0 | |
| 0x01 | bUseTemperature : 1bit 0 | bool | 6 flags | false | |
| 0x0295 | 0x03 | padding / unreflected | |||
| 0x04 | ShadowMapChannel | int32 | Deprecated+5 flags | 0 | |
| 0x04 | PreviewShadowMapChannel | int32 | 6 flags | -1 | |
| 0x04 | MinRoughness | float | Deprecated+5 flags | 0 | |
| 0x04 | SpecularScale | float | 9 flags | 1 | |
| 0x04 | DiffuseScale | float | 9 flags | 1 | |
| 0x04 | ShadowResolutionScale | float | 9 flags | 1 | |
| 0x04 | ShadowBias | float | 9 flags | 0.5 | |
| 0x04 | ShadowSlopeBias | float | 9 flags | 0.5 | |
| 0x04 | ShadowSharpen | float | 9 flags | 0 | |
| 0x04 | ContactShadowLength | float | 8 flags | 0 | |
| 0x01 | ContactShadowLengthInWS : 1bit 0 | bool | 6 flags | false | |
| 0x02C1 | 0x03 | padding / unreflected | |||
| 0x04 | ContactShadowCastingIntensity | float | 8 flags | 1 | |
| 0x04 | ContactShadowNonCastingIntensity | float | 8 flags | 0 | |
| 0x01 | InverseSquaredFalloff : 1bit 0 | bool | Deprecated+3 flags | false | |
| 0x01 | CastTranslucentShadows : 1bit 1 | bool | 7 flags | false | |
| 0x01 | bCastShadowsFromCinematicObjectsOnly : 1bit 2 | bool | 7 flags | false | |
| 0x01 | bForceCachedShadowsForMovablePrimitives : 1bit 3 | bool | 7 flags | false | |
| 0x01 | bAllowMegaLights : 1bit 4 | bool | 7 flags | true | |
| 0x02CD | 0x03 | padding / unreflected | |||
| 0x01 | MegaLightsShadowMethod | EMegaLightsShadowMethod | 9 flags | Default | |
| 0x01 | LightingChannels | FLightingChannels | 6 flags | {bChannel0=true, bChannel1=false, bChannel2=false} | |
| 0x01 | ViewLightingChannels | FViewLightingChannels | 6 flags | {bViewChannel0=true, bViewChannel1=false, bViewChannel2=fal… | |
| 0x02D3 | 0x05 | padding / unreflected | |||
| 0x08 | LightFunctionMaterial | UMaterialInterface* | 9 flags | nullptr | |
| 0x18 | LightFunctionScale | FVector | 8 flags | {X=1024, Y=1024, Z=1024} | |
| 0x08 | IESTexture | UTextureLightProfile* | 9 flags | nullptr | |
| 0x01 | bUseIESBrightness : 1bit 0 | bool | 6 flags | false | |
| 0x0301 | 0x03 | padding / unreflected | |||
| 0x04 | IESBrightnessScale | float | 9 flags | 1 | |
| 0x04 | LightFunctionFadeDistance | float | 8 flags | 1e+05 | |
| 0x04 | DisabledBrightness | float | 8 flags | 0.5 | |
| 0x01 | bEnableLightShaftBloom : 1bit 0 | bool | 6 flags | false | |
| 0x0311 | 0x03 | padding / unreflected | |||
| 0x04 | BloomScale | float | 8 flags | 0.2 | |
| 0x04 | BloomThreshold | float | 8 flags | 0 | |
| 0x04 | BloomMaxBrightness | float | 8 flags | 100 | |
| 0x04 | BloomTint | FColor | 8 flags | {B=255, G=255, R=255, A=255} | |
| 0x01 | bUseRayTracedDistanceFieldShadows | bool | 8 flags | false | |
| 0x0325 | 0x03 | padding / unreflected | |||
| 0x04 | RayStartOffsetDepthScale | float | 9 flags | 0.003 | |
Inherited from ULightComponentBase 21
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x10 | OriginalLightGuid | FGuid | 5 flags | {A=0, B=0, C=0, D=0} | |
| 0x10 | LightGuid | FGuid | 5 flags | {A=0, B=0, C=0, D=0} | |
| 0x04 | Brightness | float | Deprecated+5 flags | 3.1415927 | |
| 0x04 | Intensity | float | 9 flags | 3.1415927 | |
| 0x04 | LightColor | FColor | 9 flags | {B=255, G=255, R=255, A=255} | |
| 0x01 | bAffectsWorld : 1bit 0 | bool | 6 flags | true | |
| 0x01 | CastShadows : 1bit 1 | bool | 6 flags | true | |
| 0x01 | CastStaticShadows : 1bit 2 | bool | 7 flags | true | |
| 0x01 | CastDynamicShadows : 1bit 3 | bool | 7 flags | true | |
| 0x01 | bAffectTranslucentLighting : 1bit 4 | bool | 7 flags | false | |
| 0x01 | bTransmission : 1bit 5 | bool | 7 flags | false | |
| 0x01 | bCastVolumetricShadow : 1bit 6 | bool | 7 flags | false | |
| 0x01 | bCastDeepShadow : 1bit 7 | bool | 7 flags | false | |
| 0x01 | bCastRaytracedShadow : 1bit 0 | bool | Deprecated+3 flags | true | |
| 0x026E | 0x02 | padding / unreflected | |||
| 0x01 | CastRaytracedShadow | ECastRayTracedShadow | 9 flags | UseProjectSetting | |
| 0x0271 | 0x03 | padding / unreflected | |||
| 0x01 | bAffectReflection : 1bit 0 | bool | 7 flags | true | |
| 0x01 | bAffectGlobalIllumination : 1bit 1 | bool | 7 flags | true | |
| 0x0275 | 0x03 | padding / unreflected | |||
| 0x04 | DeepShadowLayerDistribution | float | 9 flags | 0.5 | |
| 0x04 | IndirectLightingIntensity | float | 9 flags | 0 | |
| 0x04 | VolumetricScatteringIntensity | float | 9 flags | 1 | |
| 0x04 | SamplesPerPixel | int32 | 8 flags | 0 | |
Inherited from USceneComponent 29
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | PhysicsVolume | TWeakObjectPtr<APhysicsVolume> | Transient+6 flags | nullptr | |
| 0x08 | AttachParent | USceneComponent* | NetRepNotify+8 flags | nullptr | |
| 0x08 | AttachSocketName | FName | NetRepNotify+5 flags | None | |
| 0x00D8 | 0x08 | padding / unreflected | |||
| 0x10 | AttachChildren | TArray<USceneComponent*> | NetTransient+7 flags | [] | |
| 0x10 | ClientAttachedChildren | TArray<USceneComponent*> | Transient+6 flags | [] | |
| 0x0100 | 0x40 | padding / unreflected | |||
| 0x18 | RelativeLocation | FVector | NetRepNotify+8 flags | {X=0, Y=0, Z=0} | |
| 0x18 | RelativeRotation | FRotator | NetRepNotify+7 flags | {Pitch=0, Yaw=0, Roll=0} | |
| 0x18 | RelativeScale3D | FVector | NetRepNotify+8 flags | {X=1, Y=1, Z=1} | |
| 0x18 | ComponentVelocity | FVector | 5 flags | {X=0, Y=0, Z=0} | |
| 0x01 | bComponentToWorldUpdated : 1bit 0 | bool | Transient+3 flags | false | |
| 0x01 | bAbsoluteLocation : 1bit 2 | bool | NetRepNotify+6 flags | false | |
| 0x01 | bAbsoluteRotation : 1bit 3 | bool | NetRepNotify+6 flags | false | |
| 0x01 | bAbsoluteScale : 1bit 4 | bool | NetRepNotify+6 flags | false | |
| 0x01 | bVisible : 1bit 5 | bool | NetRepNotify+6 flags | true | |
| 0x01 | bShouldBeAttached : 1bit 6 | bool | NetTransient+3 flags | false | |
| 0x01 | bShouldSnapLocationWhenAttached : 1bit 7 | bool | NetTransient+3 flags | false | |
| 0x01 | bShouldSnapRotationWhenAttached : 1bit 0 | bool | NetTransient+3 flags | false | |
| 0x01 | bShouldSnapScaleWhenAttached : 1bit 1 | bool | NetTransient+3 flags | false | |
| 0x01 | bShouldUpdatePhysicsVolume : 1bit 2 | bool | 6 flags | false | |
| 0x01 | bHiddenInGame : 1bit 3 | bool | 7 flags | false | |
| 0x01 | bBoundsChangeTriggersStreamingDataRebuild : 1bit 4 | bool | 3 flags | false | |
| 0x01 | bUseAttachParentBound : 1bit 5 | bool | 6 flags | false | |
| 0x01 | bComputeFastLocalBounds : 1bit 6 | bool | 3 flags | false | |
| 0x01 | bComputeBoundsOnceForGame : 1bit 7 | bool | 3 flags | false | |
| 0x01 | bComputedBoundsOnceForGame : 1bit 0 | bool | 3 flags | false | |
| 0x01 | bIsNotRenderAttachmentRoot : 1bit 1 | bool | 3 flags | false | |
| 0x01 | Mobility | EComponentMobility | Net+8 flags | Movable | |
| 0x01 | DetailMode | EDetailMode | 9 flags | DM_Low | |
| 0x01 | PhysicsVolumeChangedDelegate | FMulticastScriptDelegate | 4 flags | <delegate> | |
Inherited from UActorComponent 15
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x30 | PrimaryComponentTick | FActorComponentTickFunction | 3 flags | {} | |
| 0x10 | ComponentTags | TArray<FName> | 4 flags | [] | |
| 0x10 | AssetUserData | TArray<UAssetUserData*> | Protected+8 flags | [] | |
| 0x0088 | 0x04 | padding / unreflected | |||
| 0x04 | UCSSerializationIndex | int32 | 5 flags | -1 | |
| 0x0090 | 0x04 | padding / unreflected | |||
| 0x01 | bNetAddressable : 1bit 5 | bool | Protected+3 flags | false | |
| 0x01 | bReplicateUsingRegisteredSubObjectList : 1bit 6 | bool | Protected+9 flags | false | |
| 0x01 | bReplicates : 1bit 7 | bool | Net+7 flags | false | |
| 0x0095 | 0x01 | padding / unreflected | |||
| 0x01 | bAutoActivate : 1bit 3 | bool | 6 flags | false | |
| 0x01 | bIsActive : 1bit 4 | bool | NetTransient+4 flags | false | |
| 0x01 | bEditableWhenInherited : 1bit 5 | bool | 5 flags | true | |
| 0x01 | bCanEverAffectNavigation : 1bit 7 | bool | Protected+6 flags | false | |
| 0x01 | bIsEditorOnly : 1bit 1 | bool | 6 flags | false | |
| 0x0098 | 0x19 | padding / unreflected | |||
| 0x01 | CreationMethod | EComponentCreationMethod | 5 flags | Native | |
| 0x01 | OnComponentActivated | FMulticastScriptDelegate | 4 flags | <delegate> | |
| 0x01 | OnComponentDeactivated | FMulticastScriptDelegate | 4 flags | <delegate> | |
Functions 19
| Signature | Flags | Native | Params |
|---|---|---|---|
| void SetShadowSourceAngleFactor(float NewValue) | FinalNative+1 flags | 0x04 | |
| void SetShadowDistanceFadeoutFraction(float NewValue) | FinalNative+1 flags | 0x04 | |
| void SetShadowCascadeBiasDistribution(float NewValue) | FinalNative+1 flags | 0x04 | |
| void SetShadowAmount(float NewValue) | FinalNative+1 flags | 0x04 | |
| void SetOcclusionMaskDarkness(float NewValue) | FinalNative+1 flags | 0x04 | |
| void SetOcclusionDepthRange(float NewValue) | FinalNative+1 flags | 0x04 | |
| void SetLightSourceSoftAngle(float NewValue) | FinalNative+1 flags | 0x04 | |
| void SetLightSourceAngle(float NewValue) | FinalNative+1 flags | 0x04 | |
| void SetLightShaftOverrideDirection(const FVector& NewValue) | FinalNative+1 flags | 0x18 | |
| void SetForwardShadingPriority(int32 NewValue) | FinalNative+1 flags | 0x04 | |
| void SetEnableLightShaftOcclusion(bool bNewValue) | FinalNative+1 flags | 0x01 | |
| void SetDynamicShadowDistanceStationaryLight(float NewValue) | FinalNative+1 flags | 0x04 | |
| void SetDynamicShadowDistanceMovableLight(float NewValue) | FinalNative+1 flags | 0x04 | |
| void SetDynamicShadowCascades(int32 NewValue) | FinalNative+1 flags | 0x04 | |
| void SetCascadeTransitionFraction(float NewValue) | FinalNative+1 flags | 0x04 | |
| void SetCascadeDistributionExponent(float NewValue) | FinalNative+1 flags | 0x04 | |
| void SetAtmosphereSunLightIndex(int32 NewValue) | FinalNative+1 flags | 0x04 | |
| void SetAtmosphereSunLight(bool bNewValue) | FinalNative+1 flags | 0x01 | |
| void SetAtmosphereSunDiskColorScale(const FLinearColor& NewValue) | FinalNative+1 flags | 0x10 |