VuoSceneObject C type definition.
- Copyright
- Copyright © 2012–2013 Kosada Incorporated. This code may be modified and distributed under the terms of the MIT License. For more information, see http://vuo.org/license.
|
VuoSceneObject | VuoSceneObject_makeEmpty (void) |
| Creates a new, empty scene object.
|
|
VuoSceneObject | VuoSceneObject_make (VuoList_VuoVertices verticesList, VuoShader shader, VuoTransform transform, VuoList_VuoSceneObject childObjects) |
| Creates a visible (mesh) scene object.
|
|
VuoSceneObject | VuoSceneObject_makeImage (VuoImage image, VuoPoint3d center, VuoPoint3d rotation, VuoReal width, VuoReal alpha) |
| Returns a scene object with the specified image .
|
|
VuoSceneObject | VuoSceneObject_makeCube (VuoTransform transform, VuoShader frontShader, VuoShader leftShader, VuoShader rightShader, VuoShader backShader, VuoShader topShader, VuoShader bottomShader) |
| Returns a scene object consisting of 6 child objects (square quads), each with its own shader.
|
|
VuoSceneObject | VuoSceneObject_makePerspectiveCamera (VuoText name, VuoPoint3d position, VuoPoint3d rotation, float fieldOfView, float distanceMin, float distanceMax) |
| Returns a perspective camera.
|
|
VuoSceneObject | VuoSceneObject_makeOrthographicCamera (VuoText name, VuoPoint3d position, VuoPoint3d rotation, float width, float distanceMin, float distanceMax) |
| Returns an orthographic camera.
|
|
VuoSceneObject | VuoSceneObject_makeDefaultCamera (void) |
| Returns a perspective camera at (0,0,1), facing along -z, 90 degree FOV, and clip planes at 0.1 and 10.0.
|
|
VuoSceneObject | VuoSceneObject_findCamera (VuoSceneObject so, VuoText nameToMatch, bool *foundCamera) |
| Performs a depth-first search of the scenegraph.
|
|
VuoSceneObject | VuoSceneObject_valueFromJson (json_object *js) |
| Decodes the JSON object js to create a new value.
|
|
json_object * | VuoSceneObject_jsonFromValue (const VuoSceneObject value) |
| Encodes value as a JSON object.
|
|
char * | VuoSceneObject_summaryFromValue (const VuoSceneObject value) |
| Produces a brief human-readable summary of value .
|
|
void | VuoSceneObject_dump (const VuoSceneObject so) |
| Outputs information about the sceneobject (and its descendants).
|
|
|
VuoSceneObject | VuoSceneObject_valueFromString (const char *str) |
| Automatically generated function.
|
|
char * | VuoSceneObject_stringFromValue (const VuoSceneObject value) |
| Automatically generated function.
|
|
void | VuoSceneObject_retain (VuoSceneObject value) |
| Automatically generated function.
|
|
void | VuoSceneObject_release (VuoSceneObject value) |
| Automatically generated function.
|
|
#define | VuoList_VuoSceneObject_TYPE_DEFINED |
|
typedef void * | VuoList_VuoSceneObject |
|