Search Results for

    Show / Hide Table of Contents

    Class CameraUtils

    Camera utility functions for managing camera controls.

    Inheritance
    Object
    CameraUtils
    Namespace: nickmaltbie.OpenKCC.CameraControls
    Assembly: cs.temp.dll.dll
    Syntax
    public static class CameraUtils

    Methods

    UpdateCameraController(CameraConfig, GameObject, IManagedCamera, Single)

    Update a camera controller based on current configuration and inputs.

    Declaration
    public static void UpdateCameraController(CameraConfig config, GameObject go, IManagedCamera cameraControls, float deltaTime)
    Parameters
    Type Name Description
    CameraConfig config

    Configuration for the camera controller.

    GameObject go

    GameObject associated with the camera controller.

    IManagedCamera cameraControls

    Camera controls object.

    Single deltaTime

    delta time for updating the camera controller.

    UpdateThirdPersonCameraBase(Vector3, CameraConfig, GameObject, IManagedCamera, Single)

    Update the third person camera base for a camera controller.

    Declaration
    public static void UpdateThirdPersonCameraBase(Vector3 cameraDirection, CameraConfig config, GameObject go, IManagedCamera cameraControls, float deltaTime)
    Parameters
    Type Name Description
    Vector3 cameraDirection

    Direction the camera is relative to the player.

    CameraConfig config

    Config associated with the player.

    GameObject go

    Game object for the character position.

    IManagedCamera cameraControls

    Camera controls associated with the player.

    Single deltaTime

    delta time for updating player opacity.

    In This Article
    Back to top OpenKCC Documentation