Script Class Reference

This section contains reference information for the script classes provided by Awakening.

 sort  class name   Explain
mathematical & physical  point  2D point
 rect  rectangle
 color  color, every component is a float number, value range is 0.0 - 1.0
 vec  3D vector, or 3D point
 vec4  4D vector
 quaternion  quaternion
 matrix  4 x 4 matrix
 ray  3D ray, have a start point and a direction
 segment  3D segment,  have a start point and a end point
 plane  plane, expressed by a direction and a distance to origin
 bbox  3D bounding box
 bsphere  3D bounding sphere
 frustum  3D frustum, describe a volume bounded by six planes
 amplifier  amplifier, a mechanism for amplifying number.
 trace  trace, for tracing in scene
 movtar  movable target
visual object  surface  surface object
 staticmesh  static mesh object
 terrain  terrain object
 ocean  ocean object
 mobile  mobile object
 skinmesh  skin mesh object
 cloth  cloth object
 movgroup  group object
 billboard  billboard object
 particles  particles object
 spot  spot object
 text2d  2D text object
 image2d  2D image object
light  light  light
resource  material  material
 textureplay  texture play
 font  font
 bonesani  bones animation
 post  post processing
 shot  shot
singleton  scene  describe the whole scene
 camera  describe the exclusive camera
 draw  a drawing utility, is only used in Render2D and Render3D
 callback functions of User Script File.
 texturelist  describe the texture list of scene
 player  describe the avatar walk around in virtual world
aux lib  array  array container (index start from 1)
Internet services  websession  
 webfile  

 

Alphabetical Reference:

amplifier

animation

array

bbox

billboard

bonesani

bsphere

camera

cloth

color

commandtar

d3dsurface

draw

effect

font

frustum

image2d

light

material

matrix

mobile

movable

movgroup

movtar

ocean

overlay

particles

plane

player

point

post

quaternion

ray

rect

resource

root

scene

segment

shot

skinmesh

spot

staticmesh

surface

terrain

text2d

texturelist

textureplay

trace

vec

vec4

webfile

websession