Class ShadingObjectIndexed
Namespace: Scripting
Syntax
public class ShadingObjectIndexed
Constructors
ShadingObjectIndexed()
Creates an instance of the ShadingObjectIndexed class.
Declaration
public ShadingObjectIndexed()
Properties
Name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Quads
Declaration
public IList<QuadIndices> Quads { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<QuadIndices> |
Triangles
Declaration
public IList<TriangleIndices> Triangles { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<TriangleIndices> |
Vertices
Gets the vertices.
Declaration
public IReadOnlyList<Point3D> Vertices { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<Point3D> |
Methods
Equals(ShadingObjectIndexed)
Tests a ShadingObjectIndexed against this current ShadingObjectIndexed for equality.
Declaration
public bool Equals(ShadingObjectIndexed val)
Parameters
Type | Name | Description |
---|---|---|
ShadingObjectIndexed | val |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Equals(Object)
Tests a System.Object against this current ShadingObjectIndexed for equality.
Declaration
public override bool Equals(object toCompare)
Parameters
Type | Name | Description |
---|---|---|
System.Object | toCompare |
Returns
Type | Description |
---|---|
System.Boolean | True if object is equal otherwise false is returned. |
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Gets the hash code for this object.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | The hash code for this object. |
Overrides
System.Object.GetHashCode()
Operators
Equality(ShadingObjectIndexed, ShadingObjectIndexed)
Tests a ShadingObjectIndexed against this current ShadingObjectIndexed for equality.
Declaration
public static bool operator ==(ShadingObjectIndexed a, ShadingObjectIndexed b)
Parameters
Type | Name | Description |
---|---|---|
ShadingObjectIndexed | a | |
ShadingObjectIndexed | b |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Inequality(ShadingObjectIndexed, ShadingObjectIndexed)
Tests a ShadingObjectIndexed against this current ShadingObjectIndexed for inequality.
Declaration
public static bool operator !=(ShadingObjectIndexed a, ShadingObjectIndexed b)
Parameters
Type | Name | Description |
---|---|---|
ShadingObjectIndexed | a | |
ShadingObjectIndexed | b |
Returns
Type | Description |
---|---|
System.Boolean | True if not equal otherwise false is returned. |