Hex Terrains Framework
Search Results for

    Show / Hide Table of Contents

    Struct CameraViewPortData

    Struct that is used to cache the Camera data (Transform, IsOrtographic, Size e.g. Field of view or Ortographic size depending on camera settings)

    Implements
    IEquatable<CameraViewPortData>
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Fwt.Core
    Assembly: fwt.core.dll
    Syntax
    public struct CameraViewPortData : IEquatable<CameraViewPortData>

    Fields

    IsOrthographic

    Declaration
    public bool IsOrthographic
    Field Value
    Type Description
    bool

    Position

    Declaration
    public Vector3 Position
    Field Value
    Type Description
    Vector3

    Rotation

    Declaration
    public Quaternion Rotation
    Field Value
    Type Description
    Quaternion

    Scale

    Declaration
    public Vector3 Scale
    Field Value
    Type Description
    Vector3

    Size

    Declaration
    public float Size
    Field Value
    Type Description
    float

    Methods

    Equals(CameraViewPortData)

    Declaration
    public bool Equals(CameraViewPortData other)
    Parameters
    Type Name Description
    CameraViewPortData other
    Returns
    Type Description
    bool

    FromCamera(Camera)

    Declaration
    public static CameraViewPortData FromCamera(Camera camera)
    Parameters
    Type Name Description
    Camera camera
    Returns
    Type Description
    CameraViewPortData

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    ValueType.ToString()

    Implements

    IEquatable<T>

    Extension Methods

    HashExtensions.GetHashCode_ValueType<TValue>(TValue, int)
    HashExtensions.GetHashCode_ValueType<TValue>(TValue, int)
    Extensions_UnityObject.SmartDestroy(object)
    Extensions_UnityObject.SmartDestroy(object)
    Extensions_UnityObject.SmartGetComponent<TComponent>(object)
    Extensions_UnityObject.SmartGetComponent<TComponent>(object)
    Extensions_UnityObject.SmartGetGameGameObject(object)
    Extensions_UnityObject.SmartGetGameGameObject(object)
    In this article
    Back to top Generated by DocFX