Class
UDirectionalLightComponent
: ULightComponent : ULightComponentBase : USceneComponent : UActorComponent : UObject0x00x03A0
Members 25
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x04 | ShadowCascadeBiasDistribution | float | 9 flags | 1 | |
| 0x01 | bEnableLightShaftOcclusion : 1bit 0 | bool | 6 flags | false | |
| 0x0325 | 0x03 | padding / unreflected | |||
| 0x04 | OcclusionMaskDarkness | float | 8 flags | 0.05 | |
| 0x04 | OcclusionDepthRange | float | 8 flags | 1e+05 | |
| 0x0C | LightShaftOverrideDirection | FVector | 9 flags | {X=0, Y=0, Z=0} | |
| 0x04 | WholeSceneDynamicShadowRadius | float | Deprecated+5 flags | 20000 | |
| 0x04 | DynamicShadowDistanceMovableLight | float | 8 flags | 20000 | |
| 0x04 | DynamicShadowDistanceStationaryLight | float | 8 flags | 0 | |
| 0x04 | DynamicShadowCascades | int32 | 8 flags | 3 | |
| 0x04 | CascadeDistributionExponent | float | 8 flags | 3 | |
| 0x04 | CascadeTransitionFraction | float | 8 flags | 0.1 | |
| 0x04 | ShadowDistanceFadeoutFraction | float | 8 flags | 0.1 | |
| 0x01 | bUseInsetShadowsForMovableObjects : 1bit 0 | bool | 7 flags | true | |
| 0x0359 | 0x03 | padding / unreflected | |||
| 0x04 | FarShadowCascadeCount | int32 | 9 flags | 0 | |
| 0x04 | FarShadowDistance | float | 9 flags | 3e+05 | |
| 0x04 | DistanceFieldShadowDistance | float | 8 flags | 30000 | |
| 0x04 | LightSourceAngle | float | 8 flags | 0.5357 | |
| 0x04 | LightSourceSoftAngle | float | 8 flags | 0 | |
| 0x04 | TraceDistance | float | 9 flags | 10000 | |
| 0x10 | LightmassSettings | FLightmassDirectionalLightSettings | 3 flags | {LightSourceAngle=1} | |
| 0x01 | bCastModulatedShadows : 1bit 0 | bool | 7 flags | false | |
| 0x0385 | 0x03 | padding / unreflected | |||
| 0x04 | ModulatedShadowColor | FColor | 10 flags | {B=128, G=128, R=128, A=255} | |
| 0x04 | ShadowAmount | float | 10 flags | 1 | |
| 0x01 | bUsedAsAtmosphereSunLight : 1bit 0 | bool | 7 flags | false | |
| 0x0391 | 0x03 | padding / unreflected | |||
| 0x04 | AtmosphereSunLightIndex | int32 | 9 flags | 0 | |
| 0x0398 | 0x08 | unreflected bytes to end of UDirectionalLightComponent | |||
Inherited from ULightComponent 33
| 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 | |
| 0x022D | 0x03 | padding / unreflected | |||
| 0x04 | ShadowMapChannel | int32 | Deprecated+5 flags | 0 | |
| 0x0234 | 0x04 | padding / unreflected | |||
| 0x04 | MinRoughness | float | Deprecated+5 flags | 0 | |
| 0x04 | SpecularScale | 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 | |
| 0x01 | InverseSquaredFalloff : 1bit 1 | bool | Deprecated+3 flags | false | |
| 0x01 | CastTranslucentShadows : 1bit 2 | bool | 7 flags | false | |
| 0x01 | bCastShadowsFromCinematicObjectsOnly : 1bit 3 | bool | 7 flags | false | |
| 0x01 | bAffectDynamicIndirectLighting : 1bit 4 | bool | 7 flags | false | |
| 0x01 | bForceCachedShadowsForMovablePrimitives : 1bit 5 | bool | 7 flags | false | |
| 0x0255 | 0x03 | padding / unreflected | |||
| 0x01 | LightingChannels | FLightingChannels | 6 flags | {bChannel0=true, bChannel1=false, bChannel2=false} | |
| 0x0259 | 0x07 | padding / unreflected | |||
| 0x08 | LightFunctionMaterial | UMaterialInterface* | 8 flags | nullptr | |
| 0x0C | LightFunctionScale | FVector | 8 flags | {X=1024, Y=1024, Z=1024} | |
| 0x0274 | 0x04 | padding / unreflected | |||
| 0x08 | IESTexture | UTextureLightProfile* | 8 flags | nullptr | |
| 0x01 | bUseIESBrightness : 1bit 0 | bool | 6 flags | false | |
| 0x0281 | 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 | |
| 0x0291 | 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 | |
| 0x02A5 | 0x03 | padding / unreflected | |||
| 0x04 | RayStartOffsetDepthScale | float | 9 flags | 0.003 | |
Inherited from ULightComponentBase 18
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 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 | 7 flags | true | |
| 0x01 | bAffectReflection : 1bit 1 | bool | 7 flags | true | |
| 0x01 | bAffectGlobalIllumination : 1bit 2 | bool | 7 flags | true | |
| 0x020E | 0x02 | padding / unreflected | |||
| 0x04 | IndirectLightingIntensity | float | 9 flags | 0 | |
| 0x04 | VolumetricScatteringIntensity | float | 9 flags | 1 | |
| 0x04 | SamplesPerPixel | int32 | 8 flags | 0 | |
Inherited from USceneComponent 24
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | PhysicsVolume | TWeakObjectPtr<APhysicsVolume> | Transient+6 flags | <0xffffffff> | |
| 0x08 | AttachParent | USceneComponent* | NetRepNotify+7 flags | nullptr | |
| 0x08 | AttachSocketName | FName | NetRepNotify+5 flags | None | |
| 0x10 | AttachChildren | TArray<USceneComponent*> | NetTransient+6 flags | [] | |
| 0x10 | ClientAttachedChildren | TArray<USceneComponent*> | Transient+5 flags | [] | |
| 0x00F0 | 0x2C | padding / unreflected | |||
| 0x0C | RelativeLocation | FVector | NetRepNotify+8 flags | {X=0, Y=0, Z=0} | |
| 0x0C | RelativeRotation | FRotator | NetRepNotify+7 flags | {Pitch=0, Yaw=0, Roll=0} | |
| 0x0C | RelativeScale3D | FVector | NetRepNotify+9 flags | {X=1, Y=1, Z=1} | |
| 0x0C | 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 | bShouldUpdatePhysicsVolume : 1bit 1 | bool | 6 flags | false | |
| 0x01 | bHiddenInGame : 1bit 2 | bool | 7 flags | false | |
| 0x01 | bBoundsChangeTriggersStreamingDataRebuild : 1bit 3 | bool | 3 flags | false | |
| 0x01 | bUseAttachParentBound : 1bit 4 | bool | 6 flags | false | |
| 0x014E | 0x01 | padding / unreflected | |||
| 0x01 | Mobility | EComponentMobility | 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> | 5 flags | [] | |
| 0x10 | AssetUserData | TArray<UAssetUserData*> | Protected+7 flags | [] | |
| 0x0080 | 0x04 | padding / unreflected | |||
| 0x04 | UCSSerializationIndex | int32 | 5 flags | -1 | |
| 0x01 | bNetAddressable : 1bit 3 | bool | Protected+3 flags | false | |
| 0x01 | bReplicates : 1bit 4 | bool | Net+7 flags | false | |
| 0x01 | bAutoActivate : 1bit 7 | bool | 6 flags | false | |
| 0x01 | bIsActive : 1bit 0 | bool | NetTransient+4 flags | false | |
| 0x01 | bEditableWhenInherited : 1bit 1 | bool | 5 flags | true | |
| 0x01 | bCanEverAffectNavigation : 1bit 3 | bool | Protected+6 flags | false | |
| 0x01 | bIsEditorOnly : 1bit 5 | bool | 6 flags | false | |
| 0x008B | 0x01 | padding / unreflected | |||
| 0x01 | CreationMethod | EComponentCreationMethod | 5 flags | Native | |
| 0x01 | OnComponentActivated | FMulticastScriptDelegate | 4 flags | <delegate> | |
| 0x01 | OnComponentDeactivated | FMulticastScriptDelegate | 4 flags | <delegate> | |
| 0x008F | 0x01 | padding / unreflected | |||
| 0x10 | UCSModifiedProperties | TArray<FSimpleMemberReference> | 3 flags | [] | |
Functions 10
| Signature | Flags | Native | Params |
|---|---|---|---|
| void SetShadowDistanceFadeoutFraction(float NewValue) | FinalNative+1 flags | 0x04 | |
| void SetShadowAmount(float NewValue) | FinalNative+1 flags | 0x04 | |
| void SetOcclusionMaskDarkness(float NewValue) | FinalNative+1 flags | 0x04 | |
| void SetLightShaftOverrideDirection(const FVector& NewValue) | FinalNative+1 flags | 0x0C | |
| 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 |