Class GfVec4h
Namespace: pxr
Syntax
public class GfVec4h : IDisposable
Constructors
GfVec4h()
Declaration
GfVec4h(GfHalf)
Declaration
public GfVec4h(GfHalf value)
Parameters
Type |
Name |
Description |
GfHalf |
value |
|
GfVec4h(GfHalf, GfHalf, GfHalf, GfHalf)
Declaration
public GfVec4h(GfHalf s0, GfHalf s1, GfHalf s2, GfHalf s3)
Parameters
GfVec4h(GfVec4d)
Declaration
public GfVec4h(GfVec4d other)
Parameters
Type |
Name |
Description |
GfVec4d |
other |
|
GfVec4h(GfVec4f)
Declaration
public GfVec4h(GfVec4f other)
Parameters
Type |
Name |
Description |
GfVec4f |
other |
|
GfVec4h(GfVec4i)
Declaration
public GfVec4h(GfVec4i other)
Parameters
Type |
Name |
Description |
GfVec4i |
other |
|
Fields
dimension
Declaration
public static readonly uint dimension
Field Value
swigCMemOwn
Declaration
protected bool swigCMemOwn
Field Value
Properties
Item[Int32]
Declaration
public float this[int index] { get; set; }
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Property Value
Methods
Axis(UInt32)
Declaration
public static GfVec4h Axis(uint i)
Parameters
Type |
Name |
Description |
UInt32 |
i |
|
Returns
Dispose()
Declaration
public virtual void Dispose()
Implements
Equals(GfVec4h, GfVec4h)
Declaration
public static bool Equals(GfVec4h lhs, GfVec4h rhs)
Parameters
Returns
Equals(Object)
Declaration
public override bool Equals(object rhs)
Parameters
Type |
Name |
Description |
Object |
rhs |
|
Returns
Overrides
Finalize()
Declaration
protected void Finalize()
GetComplement(GfVec4h)
Declaration
public GfVec4h GetComplement(GfVec4h b)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
GetLength()
Declaration
public GfHalf GetLength()
Returns
GetLengthSq()
Declaration
public GfHalf GetLengthSq()
Returns
GetNormalized()
Declaration
public GfVec4h GetNormalized()
Returns
GetNormalized(GfHalf)
Declaration
public GfVec4h GetNormalized(GfHalf eps)
Parameters
Type |
Name |
Description |
GfHalf |
eps |
|
Returns
GetProjection(GfVec4h)
Declaration
public GfVec4h GetProjection(GfVec4h v)
Parameters
Returns
GetValue(Int32)
Declaration
protected float GetValue(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
Normalize()
Declaration
public GfHalf Normalize()
Returns
Normalize(GfHalf)
Declaration
public GfHalf Normalize(GfHalf eps)
Parameters
Type |
Name |
Description |
GfHalf |
eps |
|
Returns
Set(GfHalf)
Declaration
public GfVec4h Set(GfHalf a)
Parameters
Type |
Name |
Description |
GfHalf |
a |
|
Returns
Set(GfHalf, GfHalf, GfHalf, GfHalf)
Declaration
public GfVec4h Set(GfHalf s0, GfHalf s1, GfHalf s2, GfHalf s3)
Parameters
Returns
SetValue(Int32, Single)
Declaration
protected void SetValue(int index, float value)
Parameters
WAxis()
Declaration
public static GfVec4h WAxis()
Returns
XAxis()
Declaration
public static GfVec4h XAxis()
Returns
YAxis()
Declaration
public static GfVec4h YAxis()
Returns
ZAxis()
Declaration
public static GfVec4h ZAxis()
Returns
Operators
Equality(GfVec4h, GfVec4h)
Declaration
public static bool operator ==(GfVec4h lhs, GfVec4h rhs)
Parameters
Returns
Inequality(GfVec4h, GfVec4h)
Declaration
public static bool operator !=(GfVec4h lhs, GfVec4h rhs)
Parameters
Returns