Class ContactPointSet
Definition
- Namespace:
- Tizen.NUI.Physics2D.Chipmunk
- Assembly:
- Tizen.NUI.Physics2D.dll
Contact point sets make getting contact information simpler. There can be at most 2 contact
points.
public sealed class ContactPointSet : IEquatable<ContactPointSet>
- Inheritance
-
Properties
View Source
Get the number of contact points in the contact set (maximum of two).
Declaration
public int Count { get; }
Property Value
View Source
Get the normal of the collision.
Declaration
public Vect Normal { get; }
Property Value
View Source
List of points in the contact point set
Declaration
public IReadOnlyList<ContactPoint> Points { get; }
Property Value
Methods
View Source
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
View Source
Return true if the contact point set is sequence-equal to another.
Declaration
public bool Equals(ContactPointSet other)
Parameters
Returns
View Source
Declaration
public override int GetHashCode()
Returns
Operators
View Source
Return true if the contact point sets are sequence-equal.
Declaration
public static bool operator ==(ContactPointSet left, ContactPointSet right)
Parameters
Returns
View Source
Return true if the contact point sets are sequence-inequal.
Declaration
public static bool operator !=(ContactPointSet left, ContactPointSet right)
Parameters
Returns
Extension Methods