Interface sandy.primitive.Primitive3D

Description

Primitive3D

This is only an interface, to be sure all primitives Object have implements needed methods

Method Index

generate(), getPrimitiveName(), getSize(), toString()

Method Detail

generate

public function generate(Void):Void

generate

generate all is needed to construct the Object3D :

  • Vertex
  • UVCoords
  • TriFace3D
  • NFace3D not implemented yet

It can construct dynamically the object, taking care of your preferences given in arguments.
Note in Sandy 0.1 all faces have only three points. This will change in the future version, and give to you the possibility to choose n points per faces

getPrimitiveName

public function getPrimitiveName(Void):String

toString

public function toString(Void):String

getSize

public function getSize(Void):Vector