Click or drag to resize
Ab4d.SharpEngine logo

PyramidModelNode Class

PyramidModelNode class is used to create a SceneNode that represents a 3D Pyramid.
Inheritance Hierarchy

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public class PyramidModelNode : ModelNode

The PyramidModelNode type exposes the following members.

Constructors
 NameDescription
Public methodPyramidModelNodeInitializes a new instance of the PyramidModelNode class
Public methodPyramidModelNode(String)Initializes a new instance of the PyramidModelNode class
Public methodPyramidModelNode(Material, String)Initializes a new instance of the PyramidModelNode class
Public methodPyramidModelNode(Vector3, Vector3, String)Initializes a new instance of the PyramidModelNode class
Public methodPyramidModelNode(Vector3, Vector3, Material, String)Initializes a new instance of the PyramidModelNode class
Top
Properties
 NameDescription
Public propertyBottomCenterPosition Gets or sets the center position of the bottom rectangle that defines the pyramid Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
Public propertySize Size of the pyramid. Default value is (0, 0, 0). Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
Top
Methods
 NameDescription
Protected methodUpdateMesh UpdateMesh method recreates the mesh based on the current object properties. The method should be overriden in the derived class that provides its own mesh generation.
(Overrides ModelNodeUpdateMesh)
Top
See Also