API Documentation
Classes
- _global_
- GLGE
- GLGE.Action
- GLGE.ActionChannel
- GLGE.Animatable
- GLGE.AnimationCurve
- GLGE.AnimationVector
- GLGE.Assets
- GLGE.BezTriple
- GLGE.Camera
- GLGE.Collada
- GLGE.Document
- GLGE.DocumentPreloader
- GLGE.Events
- GLGE.FilePreloader
- GLGE.FilterAO
- GLGE.FilterGlow
- GLGE.Group
- GLGE.GUI
- GLGE.HeightMap
- GLGE.JSONLoader
- GLGE.KeyInput
- GLGE.Light
- GLGE.LinearPoint
- GLGE.Material
- GLGE.MaterialLayer
- GLGE.MD2
- GLGE.Mesh
- GLGE.Message
- GLGE.MouseInput
- GLGE.MultiMaterial
- GLGE.Object
- GLGE.ObjectLod
- GLGE.ParticleSystem
- GLGE.PhysicsAbstract
- GLGE.PhysicsBox
- GLGE.PhysicsCar
- GLGE.PhysicsConstraintPoint
- GLGE.PhysicsMesh
- GLGE.PhysicsPlane
- GLGE.PhysicsSphere
- GLGE.PhysicsWheel
- GLGE.Placeable
- GLGE.QuickNotation
- GLGE.Renderer
- GLGE.Scene
- GLGE.Sphere
- GLGE.StepPoint
- GLGE.Text
- GLGE.Texture
- GLGE.TextureCamera
- GLGE.TextureCanvas
- GLGE.TextureCube
- GLGE.TextureVideo
- GLGE.Wavefront
- GUI.Gadget
- GUI.Preloader
- GUI.Progressbar
- GUI.Widget
Extends
GLGE.Mesh.
Used to generate a basic sphere mesh
Defined in: glge_sphere.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
GLGE.Sphere(uid)
|
| Method Attributes | Method Name and Description |
|---|---|
|
Gets the sphere radius
|
|
|
setHorizontal(radius)
Sets the sphere horizontal divisions
|
|
|
setRadius(radius)
Sets the sphere radius
|
|
|
setVertical(radius)
Sets the sphere vertical divisions
|
- Methods borrowed from class GLGE.Mesh:
- calcFauxAO, clearBuffers, getBoundingVolume, setFaces, setInvBindMatrix, setJoints, setNormals, setPositions, setTangents, setUV, setUV2, setVertexColors, setVertexJoints, setVertexWeights
- Methods borrowed from class GLGE.QuickNotation:
- _
- Methods borrowed from class GLGE.JSONLoader:
- getDownloadPriority, setDownloadPriority, setJSONSrc, setJSONString
- Methods borrowed from class GLGE.Events:
- addEventListener, fireEvent, removeEventListener
- Events borrowed from class GLGE.Mesh:
- shaderupdate
Method Detail
getRadius()
Gets the sphere radius
- Returns:
- the radius
setHorizontal(radius)
Sets the sphere horizontal divisions
- Parameters:
- {number} radius
- the sphere radius
setRadius(radius)
Sets the sphere radius
- Parameters:
- {number} radius
- the sphere radius
setVertical(radius)
Sets the sphere vertical divisions
- Parameters:
- {number} radius
- the sphere radius
Documentation generated by JsDoc Toolkit 2.4.0 on Sun Feb 12 2012 14:20:23 GMT+0000 (GMT)