Click or drag to resize
AB4D logo

Model3DFactory Class

Model3DFactory class contains static methods to crete 3D models.
Inheritance Hierarchy
SystemObject
  Ab3d.ModelsModel3DFactory

Namespace: Ab3d.Models
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.2.9104.2045
Syntax
C#
public class Model3DFactory

The Model3DFactory type exposes the following members.

Constructors
 NameDescription
Public methodModel3DFactoryInitializes a new instance of the Model3DFactory class
Top
Methods
 NameDescription
Public methodStatic memberCreateBox(Rect3D, Material) Creates a 3D Box model from rect3D.
Public methodStatic memberCreateBox(Size3D, Material) Creates a 3D Box model positioned at (0, 0, 0).
Public methodStatic memberCreateBox(Point3D, Size3D, Material) Creates a 3D Box model at custom position.
Public methodStatic memberCreateBox(Point3D, Size3D, Int32, Int32, Int32, Material) Creates a 3D Box model at custom position and with custom x, y and z cells count.
Public methodStatic memberCreateCircle Creates a customly aligned 3D circle.
Public methodStatic memberCreateCone Creates a 3D Cone model.
Public methodStatic memberCreateCylinder Creates a 3D Cylinder model.
Public methodStatic memberCreateHorizontalCircle Creates a horizontally aligned 3D circle.
Public methodStatic memberCreateHorizontalPlane Creates a horizontally aligned 3D plane - aligned with X and Z axis.
Public methodStatic memberCreateMultiMaterialBox(Rect3D, Material, Material, Material, Material, Material, Material, Boolean) Creates a 3D Box model where each side can have its own material.
Public methodStatic memberCreateMultiMaterialBox(Point3D, Size3D, Material, Material, Material, Material, Material, Material, Boolean) Creates a 3D Box model where each side can have its own material.
Public methodStatic memberCreateMultiMaterialBox(Point3D, Size3D, Int32, Int32, Int32, Material, Material, Material, Material, Material, Material, Boolean) Creates a 3D Box model where each side can have its own material.
Public methodStatic memberCreatePlane Creates customly aligned 3D plane.
Public methodStatic memberCreatePyramid(Size3D, Material) Creates a 3D Pyramid model positioned at (0, 0, 0).
Public methodStatic memberCreatePyramid(Point3D, Size3D, Material) Creates a 3D Pyramid model at custom position.
Public methodStatic memberCreateSphere(Double, Int32, Material) Creates a 3D Sphere model positioned at (0, 0, 0).
Public methodStatic memberCreateSphere(Point3D, Double, Int32, Material) Creates a 3D Sphere model at custom position.
Public methodStatic memberCreateTrapezoid(Point3D, Size, Point3D, Size, Material) Creates an upright 3D Trapezoid model.
Public methodStatic memberCreateTrapezoid(Point3D, Size, Size, Double, Material) Creates an upright 3D Trapezoid model.
Public methodStatic memberCreateTrapezoid(Point3D, Size, Point3D, Size, Vector3D, Vector3D, Material) Creates a 3D Trapezoid model with custom direction that is specified with sizeWidthVector3D and sizeHeightVector3D.
Public methodStatic memberCreateVerticalPlane Creates a vertically aligned 3D plane - aligned with X and Y axis.
Top
See Also