Cogito, ergo sum
User:Crusha/UltimateMappingTools/ShadowProjectorPlaceable
ShadowProjector >> ShadowProjectorPlaceable (custom) |
Contents
- Package:
- UltimateMappingTools
A fixed version of the ShadowProjector that works when manually placed in a map.
Properties
Property group 'ShadowProjector'
AssignedShadowActor
Type: Actor
Modifiers: edfindable
The Actor that the high-detailed shadow should be created for.
bForceManualFOV
Type: bool
If True, will use the FOV specified and don't calculate it.
bOnlyUpdateOnTrigger
Type: bool
Ultimate performance saving. If True, the shadow will only update when the Projector is triggered.
bUseProjectorLocationForLight
Type: bool
Don't ask, it will probably deliver worse results than setting everything up yourself. Experiment with it by moving the Projector around in relation to the Actor, if you like.
ShadowDarkness
Type: byte
How dark the shadow will be. 255 is maximum and default.
Default value: 255
UpdateFrequency
Type: float
Updates per second.
How often does the texture for the shadow get recalculated. You will want to keep this as low as possible if you are not using triggered updates.
Default value: 3.0
Default values
Property | Value |
---|---|
bClipStaticMesh | |
bDirectional | |
CullDistance | |
LightDirection | |
LightDistance | |
RemoteRole |
Functions
Events
PostBeginPlay
Initialize some one-time properties.
Timer
Calls UpdateShadow() if bOnlyUpdateOnTrigger is not set.
Trigger
Calls UpdateShadow() bOnlyUpdateOnTrigger if the Projector is triggered, regardless of the value of bOnlyUpdateOnTrigger.
Other instance functions
InitShadow
The first time where the shadow texture is generated from the Actor.