Mostly Harmless
UE3:LocalPlayer (UDK)
Contents
- 1 Properties
- 1.1 ActorVisibilityHistory
- 1.2 bEnablePostProcessOverrideRecovery
- 1.3 bOverridePostProcessSettings
- 1.4 bRecoveringFromPostProcessOverride
- 1.5 bSentSplitJoin
- 1.6 ControllerId
- 1.7 CurrentPPInfo
- 1.8 LastViewLocation
- 1.9 LevelPPInfo
- 1.10 Origin
- 1.11 PlayerPostProcess
- 1.12 PlayerPostProcessChains
- 1.13 PostProcessSettingsOverride
- 1.14 PPRecoveryTime
- 1.15 PPSettingsOverrideStartBlend
- 1.16 Size
- 1.17 ViewportClient
- 1.18 ViewState
- 2 Structs
- 3 Functions
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
LocalPlayer
Properties[edit]
ActorVisibilityHistory[edit]
Type: SynchronizedActorVisibilityHistory
Modifiers: private, native, transient, const
bEnablePostProcessOverrideRecovery[edit]
Type: bool
Modifiers: config
Whether or not we want to use the post process override recovery code
bOverridePostProcessSettings[edit]
Type: bool
Whether to override the post process settings or not
bRecoveringFromPostProcessOverride[edit]
Type: bool
Whether or not we are currently recovering from a post process override
bSentSplitJoin[edit]
Type: bool
Modifiers: const, editconst, transient
set when we've sent a split join request
ControllerId[edit]
Type: int
The controller ID which this player accepts input from.
CurrentPPInfo[edit]
Type: CurrentPostProcessVolumeInfo
Modifiers: const, noimport, transient
current state of post process info set in the scene
LastViewLocation[edit]
Type: Object.Vector
Modifiers: transient
The location of the player's view the previous frame.
LevelPPInfo[edit]
Type: CurrentPostProcessVolumeInfo
Modifiers: const, noimport, transient
State of post process info only counting level effects
Origin[edit]
Type: Object.Vector2D
The coordinates for the upper left corner of the master viewport subregion allocated to this player. 0-1
PlayerPostProcess[edit]
Type: PostProcessChain
Modifiers: const
Chain of post process effects for this player view
PlayerPostProcessChains[edit]
Type: array<PostProcessChain>
Modifiers: const
PostProcessSettingsOverride[edit]
Type: PostProcessVolume.PostProcessSettings
The post process settings to override to
Default value:
Member | Value | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
bAllowAmbientOcclusion | True | ||||||||||
bEnableBloom | True | ||||||||||
bEnableMotionBlur | True | ||||||||||
bEnableSceneEffect | True | ||||||||||
Bloom_InterpolationDuration | 1.0 | ||||||||||
Bloom_Scale | 1.0 | ||||||||||
bOverride_AllowAmbientOcclusion | True | ||||||||||
bOverride_Bloom_InterpolationDuration | True | ||||||||||
bOverride_Bloom_Scale | True | ||||||||||
bOverride_DOF_BlurBloomKernelSize | True | ||||||||||
bOverride_DOF_BlurKernelSize | True | ||||||||||
bOverride_DOF_FalloffExponent | True | ||||||||||
bOverride_DOF_FocusDistance | True | ||||||||||
bOverride_DOF_FocusInnerRadius | True | ||||||||||
bOverride_DOF_FocusPosition | True | ||||||||||
bOverride_DOF_FocusType | True | ||||||||||
bOverride_DOF_InterpolationDuration | True | ||||||||||
bOverride_DOF_MaxFarBlurAmount | True | ||||||||||
bOverride_DOF_MaxNearBlurAmount | True | ||||||||||
bOverride_DOF_ModulateBlurColor | True | ||||||||||
bOverride_EnableBloom | True | ||||||||||
bOverride_EnableDOF | True | ||||||||||
bOverride_EnableMotionBlur | True | ||||||||||
bOverride_EnableSceneEffect | True | ||||||||||
bOverride_MotionBlur_Amount | True | ||||||||||
bOverride_MotionBlur_CameraRotationThreshold | True | ||||||||||
bOverride_MotionBlur_CameraTranslationThreshold | True | ||||||||||
bOverride_MotionBlur_FullMotionBlur | True | ||||||||||
bOverride_MotionBlur_InterpolationDuration | True | ||||||||||
bOverride_MotionBlur_MaxVelocity | True | ||||||||||
bOverride_OverrideRimShaderColor | True | ||||||||||
bOverride_RimShader_Color | True | ||||||||||
bOverride_RimShader_InterpolationDuration | True | ||||||||||
bOverride_Scene_Desaturation | True | ||||||||||
bOverride_Scene_HighLights | True | ||||||||||
bOverride_Scene_InterpolationDuration | True | ||||||||||
bOverride_Scene_MidTones | True | ||||||||||
bOverride_Scene_Shadows | True | ||||||||||
DOF_BlurBloomKernelSize | 16.0 | ||||||||||
DOF_BlurKernelSize | 16.0 | ||||||||||
DOF_FalloffExponent | 4.0 | ||||||||||
DOF_FocusInnerRadius | 2000.0 | ||||||||||
DOF_InterpolationDuration | 1.0 | ||||||||||
DOF_MaxFarBlurAmount | 1.0 | ||||||||||
DOF_MaxNearBlurAmount | 1.0 | ||||||||||
DOF_ModulateBlurColor |
|
||||||||||
MotionBlur_Amount | 0.5 | ||||||||||
MotionBlur_CameraRotationThreshold | 45.0 | ||||||||||
MotionBlur_CameraTranslationThreshold | 10000.0 | ||||||||||
MotionBlur_FullMotionBlur | True | ||||||||||
MotionBlur_InterpolationDuration | 1.0 | ||||||||||
MotionBlur_MaxVelocity | 1.0 | ||||||||||
RimShader_Color |
|
||||||||||
RimShader_InterpolationDuration | 1.0 | ||||||||||
Scene_HighLights |
|
||||||||||
Scene_InterpolationDuration | 1.0 | ||||||||||
Scene_MidTones |
|
PPRecoveryTime[edit]
Type: float
Modifiers: config
How long it takes to recover from an override
Default value: 1.0
PPSettingsOverrideStartBlend[edit]
Type: float
The start time of the post process override blend
Size[edit]
Type: Object.Vector2D
The size of the master viewport subregion allocated to this player. 0-1
ViewportClient[edit]
Type: GameViewportClient
The master viewport containing this player's view.
ViewState[edit]
Type: pointer{FSceneViewStateInterface}
Modifiers: private, native, const
Structs[edit]
CurrentPostProcessVolumeInfo[edit]
Modifiers: native
- PostProcessVolume.PostProcessSettings LastSettings
- Last pp settings used when blending to the next set of volume values.
- PostProcessVolume LastVolumeUsed
- The last post process volume that was applied to the scene
- float BlendStartTime
- Time when a new post process volume was set
- float LastBlendTime
- Time when the settings blend was last updated.
SynchronizedActorVisibilityHistory[edit]
Functions[edit]
Native functions[edit]
DeProject[edit]
transforms 2D screen coordinates into a 3D world-space origin and direction
Parameters:
- ScreenPos - relative screen coordinates (0 to 1, relative to this player's viewport region)
- WorldOrigin - out) - world-space origin vector
- WorldDirection - out) - world-space direction vector
Note: use the Canvas version where possible as it already has the necessary information, whereas this function must gather it and is therefore slower
GetActorVisibility[edit]
Tests the visibility state of an actor in the most recent frame of this player's view to complete rendering.
Parameters:
- TestActor - The actor to check visibility for.
Returns:
- True if the actor was visible in the frame.
GetPostProcessChain[edit]
Get the PPChain at the given index.
Parameters:
- InIndex - The index of the chain to retrieve.
Returns:
- PostProcessChain The post process chain if found; NULL if not.
InsertPostProcessingChain[edit]
Add the given post process chain to the chain at the given index.
Parameters:
- InChain - The post process chain to insert.
- InIndex - The position to insert the chain in the complete chain. If -1, insert it at the end of the chain.
- bInClone - If TRUE, create a deep copy of the chains effects before insertion.
Returns:
- boolean TRUE if the chain was inserted FALSE if not
RemoveAllPostProcessingChains[edit]
Remove all post process chains.
Returns:
- boolean TRUE if the chain array was cleared FALSE if not
RemovePostProcessingChain[edit]
Remove the post process chain at the given index.
Parameters:
- InIndex - The position to insert the chain in the complete chain.
Returns:
- boolean TRUE if the chain was removed FALSE if not
SendSplitJoin[edit]
sends a splitscreen join command to the server to allow a splitscreen player to connect to the game the client must already be connected to a server for this function to work
Note: this happens automatically for all viewports that exist during the initial server connect so it's only necessary to manually call this for viewports created after that if the join fails (because the server was full, for example) all viewports on this client will be disconnected
SpawnPlayActor[edit]
Creates an actor for this player.
Parameters:
- URL - The URL the player joined with.
- OutError - If an error occurred, returns the error description.
Returns:
- False if an error occurred, true if the play actor was successfully spawned.
TouchPlayerPostProcessChain[edit]
Forces the PlayerPostProcess chain to be rebuilt. This should be called if a PPChain is retrieved using the GetPostProcessChain, and is modified directly.
Events[edit]
GetNickname[edit]
retrieves this player's name/tag from the online subsytem if this function returns a non-empty string, the returned name will replace the "Name" URL parameter passed around in the level loading and connection code, which normally comes from DefaultEngine.ini
GetUniqueNetId[edit]
retrieves this player's unique net ID from the online subsystem
Other instance functions[edit]
ClearPostProcessSettingsOverride[edit]
Clear the overriding of the post process settings.
OverridePostProcessSettings[edit]
Overrides the current post process settings.
SetControllerId[edit]
Changes the ControllerId for this player; if the specified ControllerId is already taken by another player, changes the ControllerId for the other player to the ControllerId currently in use by this player.
Parameters:
- NewControllerId - the ControllerId to assign to this player.
UpdateOverridePostProcessSettings[edit]
Update the override post process settings