Click or drag to resize

Geometry Class

Stores threedimensional, polygonal geometry and provides methods for manipulation. To actually render the geometry in the engine, convert Geometry to Mesh objects.
Inheritance Hierarchy
SystemObject
  Fusee.Engine.CoreGeometry

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 Geometry

The Geometry type exposes the following members.

Constructors
  NameDescription
Public methodGeometry
Initializes a new instance of the Geometry class.
Top
Properties
  NameDescription
Public propertyFaces
Gets or sets the faces.
Public propertyHasNormals
Gets a value indicating whether this instance has normals.
Public propertyHasTexCoords
Gets a value indicating whether this instance has tex coords.
Public propertyNormals
Gets or sets the normals.
Public propertyTexCoords
Gets or sets the texture coordinates.
Public propertyVertices
The list of vertices (3D positions).
Top
Methods
  NameDescription
Public methodAddFace
Adds the face.
Public methodAddNormal
Adds the normal.
Public methodAddTexCoord
Adds the texture coordinates.
Public methodAddVertex
Adds a vertex.
Public methodCalcFaceNormal
Calculates the normal vector for a given face.
Public methodCreateNormals
Creates normals for the entire geometry based on a given smoothing angle.
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 methodGetAllFacesContainingVertex
Gets all faces containing a certain vertex.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToMesh
Converts the whole geomentry to a Mesh.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also