Molecule Reference
From oWiki
oTakhi Condenser currently offers 34 molecules for assembling cloud formations and web applications. They are separated into 2 packs. The Basic pack contains the essential molecules for creating interactive contents, whereas the 3D pack enables you to create real-time 3D online games. In the future, more molecule packs will be released allowing you to create more and more sophisticated online apps.
Each molecule supports a set of attributes and methods. During Condenser's Edit phase, attributes can be modified in the molecule's preference dialog. This dialog can be invoked simply by clicking on the molecule's icon. During the Preview or Runtime phase, both attributes and methods are available for scripting using the oTakhi Scripting Object Model (oSOM).
Each object, its attributes and methods, can all be accessed using their corresponding scripting path within oSOM's scripting environment (e.g. app.droplet.molecules[1].method()).
Droplets and molecules, that have pref.name attribute, can be dynamically renamed and the new name immediately becomes the property of the parent object for accessing that droplet or molecule. This feature makes oSOM a very dynamic and flexible scripting environment.
app
| app | The application root. |
|---|
droplet
| droplet | A programmable container for molecules. |
|---|
Basic Pack
| The basic pack consists of 24 molecules. |
|---|
|
Text Molecule is an HTML container and renderer. |
|
|---|---|
|
Image molecule places an external image into a droplet. |
|
|
Boxmod molecule is a portable CSS style sheet for styling a droplet. |
|
|
Script molecule is a JavaScript container for adding programmable behavior to a droplet. |
|
|
Cursor molecule adds custom or system cursor to a droplet. |
|
|
Keyboard molecule allows a droplet to respond to key presses. |
|
|
HR molecule adds horizontal rule to a droplet. |
|
|
IFrame molecule allows droplets to load external web pages and web apps. |
|
|
Quicktime molecule places a quicktime movie in a droplet. |
|
|
Flash molecule places a flash movie in a droplet. |
|
|
Var molecule adds a JavaScript variable to a droplet. |
|
|
Object molecule adds a JavaScript object to a droplet. |
|
|
Array molecule adds a JavaScript array to a droplet. |
|
|
Timer molecule adds a JavaScript timer to a droplet. |
|
|
Event Receiver molecule allows a droplet to respond to custom DOM events. |
|
|
Messenger molecule allows a droplet to broadcast custom DOM events to all or a sub-group of droplets. |
|
|
Canvas molecule adds vector graphics or image patterns to a droplet. |
|
|
XML molecule adds XML document generation, parsing, validation, and transformation capabilities to a droplet. |
|
|
AJAX molecule provides AJAX service to a droplet. |
|
|
CCRX molecule provides Common Code Request and eXchange protocol (CCRX) service to a droplet. |
|
|
Server molecule adds a server socket to a droplet. |
|
|
Client molecule adds a client socket to a droplet. |
|
|
GMap molecule adds a programmable Google Map to a droplet. |
|
|
Alias molecule allows a droplet to inherit different behavior dynamically from external JavaScript Molecules. |
3D Pack
| The 3D pack has 10 molecules. |
|---|
|
Camera Molecule adds a 3D scene to a droplet. |
|
|---|---|
|
Light Molecule adds a point, spot, or directional light to the 3d scene. |
|
|
Mesh Molecule adds a 3D mesh to the scene. |
|
|
Material Molecule adds a material to a droplet, which immediately become applicable to other molecules. |
|
|
Environment Molecule adds environment effects to the 3d scene such as sky box, sky dome, and fog. |
|
|
Terrain Molecule adds a configurable terrain to the 3d scene. |
|
|
Billboard Molecule adds a billboard to the 3d scene. Billboards are objects that are always perpendicular to the view direction of the camera. |
|
|
Particle Molecule adds particle effects to the 3d scene such as firework, rain, smoke, etc. |
|
|
Manual Object Molecule allows the construction 3D objects on the fly by adding a set of vertices. |
|
|
CG stands for "C for Graphics". CG molecule provides the capabilities of a programmable rendering pipeline. It allows dynamical compilation and execution of cg codes of both vertex and fragment programs. |
Helper Objects
|
Blend multiple animations into one sequence using bone weighting. |
|
|---|---|
|
Concatenate multiple animations into one sequence with smooth transitions. |
|
|
XML Generator |
|
|
XML Transformer. |
|
|
XML Validator. |
|
|
Different types of joints between 3D mesh entities. |
|
|
Overlay is a layer which is rendered on top of the 'normal' scene contents. |
|
|
OverlayElement is a 2D element to be displayed in an Overlay. |
|
|
Particle emitters are the sources of particles in a particle system. |
|
|
Particle affectors modify particles in a particle system over their lifetime. |
|
|
Rendering can be repeated with many passes for more complex effects. |
|
|
A Pose of an mesh used to perform vertex animation. |
|
|
Utility object for performing texture projection such as decals. |
|
|
Object representing the standard color. |
|
|
Utility object for spline calculation. |
|
|
Utility object which defines the sub-parts of an Mesh Entity. |
|
|
Utility object which defines a part of an Mesh. |
|
|
Object representing the state of a single texture unit during a Pass of a Technique, of a Material. |
|
|
A utility object for performing vector math. |
|
|
A Key Frame in a vertex animation. |




