Search Results for

    Show / Hide Table of Contents

    Property Item

    Item[Int32]

    Gets or sets the component at the specified index.

    Declaration
    public float this[int index] { get; set; }
    Parameters
    Type Name Description
    System.Int32 index

    The index of the component to access. Use 0 for the X component, 1 for the Y component and 2 for the Z component.

    Property Value
    Type Description
    System.Single

    The value of the X, Y or Z component, depending on the index.

    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    Thrown when the index is out of the range [0, 2].

    ☀
    ☾
    Back to top Copyright (C) 2015 crosire - zlib
    Generated with DocFX