Click or drag to resize

MassData Structure

This holds the mass data computed for a shape.

Namespace:  Internal.tainicom.Aether.Physics2D.Collision.Shapes
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public struct MassData : IEquatable<MassData>

The MassData type exposes the following members.

Properties
  NameDescription
Public propertyArea
The area of the shape
Public propertyCentroid
The position of the shape's centroid relative to the shape's origin.
Public propertyInertia
The rotational inertia of the shape about the local origin.
Public propertyMass
The mass of the shape, usually in kilograms.
Top
Methods
Operators
  NameDescription
Public operatorStatic memberEquality
The equal operator
Public operatorStatic memberInequality
The not equal operator
Top
Extension Methods
See Also