Click or drag to resize

ConvexHullShape Class

This is the fastest kind of arbitrary shape. It is defined by a cloud of vertices but the shape formed is the smallest convex shape that encloses the vertices. For making a convex dynamic shape like a TV, this is ideal. Make sure to reduce the number of vertices below say 100.
Inheritance Hierarchy

Namespace:  Fusee.Engine.Core
Assembly:  Fusee.Engine.Core (in Fusee.Engine.Core.dll) Version: 0.7.0.0 (0.7.0.0)
Syntax
C#
public class ConvexHullShape : CollisionShape

The ConvexHullShape type exposes the following members.

Constructors
  NameDescription
Public methodConvexHullShape
Initializes a new instance of the ConvexHullShape class
Top
Properties
  NameDescription
Public propertyLocalScaling
Retrieves or sets the local scaling.
(Inherited from CollisionShape.)
Public propertyMargin
Retrieves or sets the margin.
(Inherited from CollisionShape.)
Top
Methods
  NameDescription
Public methodAddPoint
Add a vertex to the cloud of vertices. There can't be added any vertices to the Shape once it has been added to a rigidbody
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetNumPoints
Public methodGetScaledPoint
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUnscaledPoints
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also