Click or drag to resize
Ab4d.SharpEngine logo

ConeModelNode(Vector3, Single, Single, Single, Int32, Boolean, Material, String) Constructor

Create an upright 3D cone with specified material.

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public ConeModelNode(
	Vector3 bottomCenterPosition,
	float topRadius,
	float bottomRadius,
	float height,
	int segments,
	bool isSmooth,
	Material material,
	string? name = null
)

Parameters

bottomCenterPosition  Vector3
Position of the bottom-center point.
topRadius  Single
Radius of the top circle.
bottomRadius  Single
Radius of the bottom circle.
height  Single
Vertical size of the cone.
segments  Int32
Number of segments comprising the circles and the side surface.
isSmooth  Boolean
If set, side surface normals are computed so that the surface looks smooth. Otherwise, each segment of the side surface will appear pronounced and flat.
material  Material
Mesh material.
name  String  (Optional)
Optional node name.
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.SceneNodes.ConeModelNode.#ctor(System.Numerics.Vector3,System.Single,System.Single,System.Single,System.Int32,System.Boolean,Ab4d.SharpEngine.Materials.Material,System.String)"]

See Also