Search Results for

    Show / Hide Table of Contents

    Class LS.Prediction

    Class used for calculating the position of the given unit after a delay.

    Inheritance
    System.Object
    LS.Prediction
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Oasys.Common.Logic
    Assembly: Oasys.Common.dll
    Syntax
    public static class Prediction

    Methods

    GetPrediction(GameObjectBase, Single)

    Gets the prediction.

    Declaration
    public static LS.PredictionOutput GetPrediction(GameObjectBase unit, float delay)
    Parameters
    Type Name Description
    GameObjectBase unit

    The unit.

    System.Single delay

    The delay.

    Returns
    Type Description
    LS.PredictionOutput

    PredictionOutput.

    GetPrediction(GameObjectBase, Single, Single)

    Gets the prediction.

    Declaration
    public static LS.PredictionOutput GetPrediction(GameObjectBase unit, float delay, float radius)
    Parameters
    Type Name Description
    GameObjectBase unit

    The unit.

    System.Single delay

    The delay.

    System.Single radius

    The radius.

    Returns
    Type Description
    LS.PredictionOutput

    PredictionOutput.

    GetPrediction(GameObjectBase, Single, Single, Single)

    Gets the prediction.

    Declaration
    public static LS.PredictionOutput GetPrediction(GameObjectBase unit, float delay, float radius, float speed)
    Parameters
    Type Name Description
    GameObjectBase unit

    The unit.

    System.Single delay

    The delay.

    System.Single radius

    The radius.

    System.Single speed

    The speed.

    Returns
    Type Description
    LS.PredictionOutput

    PredictionOutput.

    GetPrediction(GameObjectBase, Single, Single, Single, LS.CollisionableObjects[])

    Gets the prediction.

    Declaration
    public static LS.PredictionOutput GetPrediction(GameObjectBase unit, float delay, float radius, float speed, LS.CollisionableObjects[] collisionable)
    Parameters
    Type Name Description
    GameObjectBase unit

    The unit.

    System.Single delay

    The delay.

    System.Single radius

    The radius.

    System.Single speed

    The speed.

    LS.CollisionableObjects[] collisionable

    The collisionable objects.

    Returns
    Type Description
    LS.PredictionOutput

    PredictionOutput.

    GetPrediction(LS.PredictionInput)

    Gets the prediction.

    Declaration
    public static LS.PredictionOutput GetPrediction(LS.PredictionInput input)
    Parameters
    Type Name Description
    LS.PredictionInput input

    The input.

    Returns
    Type Description
    LS.PredictionOutput

    PredictionOutput.

    Initialize()

    Declaration
    public static void Initialize()
    ☀
    ☾
    In This Article
    Back to top
    Generated by DocFX
    ☀
    ☾