Struct PolyEdge
PolyEdge defines the edge structure for PolyMesh.
Implements
Inherited Members
Namespace: UnityEngine .Polybrush
Assembly: Unity.Polybrush.dll
Syntax
public struct PolyEdge : IEquatable<PolyEdge>
Methods
Equals(object)
Equality comparer for PolyEdge
Declaration
public override bool Equals(object b)
Parameters
Type | Name | Description |
---|---|---|
object | b | System.Object that should be compare to this |
Returns
Type | Description |
---|---|
bool | true if the 2 elements are PolyEdge and are equals |
Overrides
Equals(PolyEdge)
Equality comparer for PolyEdge
Declaration
public bool Equals(PolyEdge p)
Parameters
Type | Name | Description |
---|---|---|
Poly |
p | PolyEdge to compare to this |
Returns
Type | Description |
---|---|
bool | true if the 2 PolyEdge are equals |
GetHashCode()
HashCode Generation
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | unique hashcode for PolyEdge |
Overrides
ToString()
Stringification of the PolyEdge data
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | String representing the PolyEdge |
Overrides
Operators
operator ==(PolyEdge, PolyEdge)
Equality comparer for PolyEdge with == operator
Declaration
public static bool operator ==(PolyEdge a, PolyEdge b)
Parameters
Returns
Type | Description |
---|---|
bool | true if the 2 elements are equals |
operator !=(PolyEdge, PolyEdge)
Equality comparer for PolyEdge with != operator
Declaration
public static bool operator !=(PolyEdge a, PolyEdge b)
Parameters
Returns
Type | Description |
---|---|
bool | true if the 2 elements are different |