docs.unity3d.com
    Show / Hide Table of Contents

    Class StdFloatVector

    Inheritance
    Object
    StdFloatVector
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: pxr
    Syntax
    public class StdFloatVector : IDisposable, IList<float>, ICollection<float>, IEnumerable<float>, IEnumerable

    Constructors

    StdFloatVector()

    Declaration
    public StdFloatVector()

    StdFloatVector(StdFloatVector)

    Declaration
    public StdFloatVector(StdFloatVector other)
    Parameters
    Type Name Description
    StdFloatVector other

    StdFloatVector(ICollection)

    Declaration
    public StdFloatVector(ICollection c)
    Parameters
    Type Name Description
    ICollection c

    StdFloatVector(Int32)

    Declaration
    public StdFloatVector(int capacity)
    Parameters
    Type Name Description
    Int32 capacity

    Fields

    swigCMemOwn

    Declaration
    protected bool swigCMemOwn
    Field Value
    Type Description
    Boolean

    Properties

    Capacity

    Declaration
    public int Capacity { get; set; }
    Property Value
    Type Description
    Int32

    Count

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    Int32
    Implements
    ICollection<T>.Count

    IsFixedSize

    Declaration
    public bool IsFixedSize { get; }
    Property Value
    Type Description
    Boolean

    IsReadOnly

    Declaration
    public bool IsReadOnly { get; }
    Property Value
    Type Description
    Boolean
    Implements
    ICollection<T>.IsReadOnly

    IsSynchronized

    Declaration
    public bool IsSynchronized { get; }
    Property Value
    Type Description
    Boolean

    Item[Int32]

    Declaration
    public float this[int index] { get; set; }
    Parameters
    Type Name Description
    Int32 index
    Property Value
    Type Description
    Single
    Implements
    IList<T>.Item[Int32]

    Methods

    Add(Single)

    Declaration
    public void Add(float x)
    Parameters
    Type Name Description
    Single x
    Implements
    ICollection<T>.Add(T)

    AddRange(StdFloatVector)

    Declaration
    public void AddRange(StdFloatVector values)
    Parameters
    Type Name Description
    StdFloatVector values

    Clear()

    Declaration
    public void Clear()
    Implements
    ICollection<T>.Clear()

    Contains(Single)

    Declaration
    public bool Contains(float value)
    Parameters
    Type Name Description
    Single value
    Returns
    Type Description
    Boolean
    Implements
    ICollection<T>.Contains(T)

    CopyTo(Int32, Single[], Int32, Int32)

    Declaration
    public void CopyTo(int index, float[] array, int arrayIndex, int count)
    Parameters
    Type Name Description
    Int32 index
    Single[] array
    Int32 arrayIndex
    Int32 count

    CopyTo(Single[])

    Declaration
    public void CopyTo(float[] array)
    Parameters
    Type Name Description
    Single[] array

    CopyTo(Single[], Int32)

    Declaration
    public void CopyTo(float[] array, int arrayIndex)
    Parameters
    Type Name Description
    Single[] array
    Int32 arrayIndex
    Implements
    ICollection<T>.CopyTo(T[], Int32)

    Dispose()

    Declaration
    public virtual void Dispose()
    Implements
    IDisposable.Dispose()

    Finalize()

    Declaration
    protected void Finalize()

    GetEnumerator()

    Declaration
    public StdFloatVector.StdFloatVectorEnumerator GetEnumerator()
    Returns
    Type Description
    StdFloatVector.StdFloatVectorEnumerator

    GetRange(Int32, Int32)

    Declaration
    public StdFloatVector GetRange(int index, int count)
    Parameters
    Type Name Description
    Int32 index
    Int32 count
    Returns
    Type Description
    StdFloatVector

    IndexOf(Single)

    Declaration
    public int IndexOf(float value)
    Parameters
    Type Name Description
    Single value
    Returns
    Type Description
    Int32
    Implements
    IList<T>.IndexOf(T)

    Insert(Int32, Single)

    Declaration
    public void Insert(int index, float x)
    Parameters
    Type Name Description
    Int32 index
    Single x
    Implements
    System.Collections.Generic.IList<T>.Insert(System.Int32, T)

    InsertRange(Int32, StdFloatVector)

    Declaration
    public void InsertRange(int index, StdFloatVector values)
    Parameters
    Type Name Description
    Int32 index
    StdFloatVector values

    LastIndexOf(Single)

    Declaration
    public int LastIndexOf(float value)
    Parameters
    Type Name Description
    Single value
    Returns
    Type Description
    Int32

    Remove(Single)

    Declaration
    public bool Remove(float value)
    Parameters
    Type Name Description
    Single value
    Returns
    Type Description
    Boolean
    Implements
    ICollection<T>.Remove(T)

    RemoveAt(Int32)

    Declaration
    public void RemoveAt(int index)
    Parameters
    Type Name Description
    Int32 index
    Implements
    IList<T>.RemoveAt(Int32)

    RemoveRange(Int32, Int32)

    Declaration
    public void RemoveRange(int index, int count)
    Parameters
    Type Name Description
    Int32 index
    Int32 count

    Repeat(Single, Int32)

    Declaration
    public static StdFloatVector Repeat(float value, int count)
    Parameters
    Type Name Description
    Single value
    Int32 count
    Returns
    Type Description
    StdFloatVector

    Reverse()

    Declaration
    public void Reverse()

    Reverse(Int32, Int32)

    Declaration
    public void Reverse(int index, int count)
    Parameters
    Type Name Description
    Int32 index
    Int32 count

    SetRange(Int32, StdFloatVector)

    Declaration
    public void SetRange(int index, StdFloatVector values)
    Parameters
    Type Name Description
    Int32 index
    StdFloatVector values

    Explicit Interface Implementations

    IEnumerable<Single>.GetEnumerator()

    Declaration
    IEnumerator<float> IEnumerable<float>.GetEnumerator()
    Returns
    Type Description
    IEnumerator<Single>
    Implements
    IEnumerable<T>.GetEnumerator()

    IEnumerable.GetEnumerator()

    Declaration
    IEnumerator IEnumerable.GetEnumerator()
    Returns
    Type Description
    IEnumerator
    Implements
    IEnumerable.GetEnumerator()
    Back to top
    Copyright © 2023 Unity Technologies
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on Thursday, October 19, 2023