| TriangleMeshShapeIsTwoSided Property |
Gets or sets a value indicating whether the mesh is two-sided.
Namespace: DigitalRune.Geometry.ShapesAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public bool IsTwoSided { get; set; }
Public Property IsTwoSided As Boolean
Get
Set
public:
property bool IsTwoSided {
bool get ();
void set (bool value);
}
member IsTwoSided : bool with get, set
Property Value
Type:
Boolean if this mesh is two-sided; otherwise,
.
The default is
.
Remarks
Per default, the collision detection treats the triangle mesh as one-sided
(IsTwoSided is ); that means, only the front side of a
triangle is solid. If the collision detection is used in a physics simulation, then objects
can pass through the back side of a triangle. IsTwoSided can be set to
to treat the mesh as two-sided (double-sided).
See Also