Class sandy.primitive.Cone

Implemented Interfaces

Primitive3D

Description

Cone

Field Index

Inherited from Object3D

Inherited from Node

Method Index

new Cone()
getPrimitiveName()

Inherited from Conic

Inherited from Object3D

Inherited from Leaf

Inherited from Node

Constructor Detail

Cone

public function Cone(radius:Number, height:Number, quality:Number, noBottom:Boolean, noSides:Boolean, separateFaces:Boolean)

This is the constructor to call when you need to create a Cone primitive.

radius represents the radius of the cone, height represent its height and quality its quality (the number of faces)

Parameters

radiusNumber
heightNumber
qualityNumber
noBottomBoolean If true, the bottom of the cone is not rendered (defaults to false).
noSidesBoolean If true, the sides of the cone are not rendered (defaults to false).
separateFacesBoolean If true, texture faces separately (defaults to false).

Method Detail

getPrimitiveName

public function getPrimitiveName(Void):String