YaCameraAPI¶
The
YaCameraAPI
static class provides functionality to adjust the player's camera in a game scene.- Setting_CameraFixPositionAndOrientation
- Setting_CameraFixPositionAndViewControllable
- Setting_CameraFixPositionAndLookAt
- Setting_CameraTopdown. With this component, the SetCameraPosition and SetCameraOrientation functions are unavailable.
- Setting_CameraRTS
- Setting_CameraSideScroll. With this component, the SetCameraPosition and SetCameraOrientation functions are unavailable.
- Setting_CameraThirdPerson. With this component, the SetCameraPosition function is unavailable.
Functions¶
YaPostProcessBloomHandle YaCameraAPI.InstanceBloomHandle(YaEntity targetPlayer)¶
ReturnsThe post-process bloom handle
Applies post-process bloom effect to the target of the camera.
targetPlayer
The player entity or avatar entity that player is controlling
1 2 3 4 5 |
|
YaPostProcessBloomHandle YaCameraAPI.InstanceBloomHandleGlobal()¶
ReturnsThe post-process bloom handle
Applies post-process bloom effect to all entities in the scene that the camera renders.
1 2 3 4 5 |
|
YaPostProcessColorAdjustHandle YaCameraAPI.InstanceColorAdjustHandle(YaEntity targetPlayer)¶
ReturnsThe post-process color adjustment handle
Applies post-process color adjustment to the target of the camera
targetPlayer
The player entity or avatar entity that player is controlling
1 2 3 4 5 6 |
|
YaPostProcessColorAdjustHandle YaCameraAPI.InstanceColorAdjustHandleGlobal()¶
ReturnsThe post-process color adjustment handle
Applies post-process color adjustment to all entities in the scene that the camera renders.
1 2 3 4 5 6 |
|
YaPostProcessVignetteHandle YaCameraAPI.InstanceVignetteHandle(YaEntity targetPlayer)¶
ReturnsThe post-process color adjustment handle
Applies post-process vignette effect to the target of the camera
targetPlayer
The player entity or avatar entity that player is controlling
1 2 3 4 |
|
YaPostProcessVignetteHandle YaCameraAPI.InstanceVignetteHandleGlobal()¶
ReturnsThe post-process vignette handle
Applies post-process vignette to all entities in the scene that teh camera renders
1 2 3 4 |
|
YaPostProcessBlurHandle YaCameraAPI.InstanceBlurHandle(YaEntity targetPlayer)¶
ReturnsThe post-process blur adjustment handle
Applies post-process blur adjustment to the target of the camera
targetPlayer
The player entity or avatar entity that player is controlling
1 2 3 4 5 |
|
YaPostProcessBlurHandle YaCameraAPI.InstanceBlurHandleGlobal()¶
ReturnsThe post-process blur adjustment handle
Applies post-process blur adjustment to all entities in the scene that the camera renders.
1 2 3 4 5 |
|
YaPostProcessMaskHandle YaCameraAPI.InstanceMaskHandle(YaEntity targetPlayer)¶
ReturnsThe post-process mask adjustment handle
Applies post-process mask adjustment to the target of the camera
targetPlayer
The player entity or avatar entity that player is controlling
1 2 3 4 5 6 |
|
YaPostProcessMaskHandle YaCameraAPI.InstanceMaskHandleGlobal()¶
ReturnsThe post-process color adjustment handle
Applies post-process color adjustment to all entities in the scene that the camera renders.
1 2 3 4 5 6 |
|