OpenSpace3D libs
OpenSpace 3D libraries for plugITs and OS3D developer
Functions | Variables
os3dtypeconv.pkg File Reference

Functions

 InitMainChannel ()
 
 getOS3DResourceTypeByName (name)
 Retrieve the resource type by name.
 
 getOS3DResourceNameByType (type)
 Retrieve the resource name by type.
 
 getOgreFogType (stype)
 
 getOgreFogByType (type)
 
 getOgreAnimationInterpolationType (stype)
 
 getOgreAnimationInterpolationByType (type)
 
 getOgreAnimationRotInterpolationType (stype)
 
 getOgreAnimationRotInterpolationByType (type)
 
 getOgreMaxLightType (stype)
 
 getOgreMaxLightByType (type)
 
 getOgreMaxCameraShadowType (stype)
 
 getOgreMaxCameraShadowByType (type)
 
 getOgreMaxShadowMethod (stype)
 
 getOgreMaxShadowMethodByType (type)
 
 getOgreMaxShadowPreset (stype)
 
 getOgreMaxShadowPresetByType (type)
 
 getOgreMaxShadowPresetQuality (stype)
 
 getOgreMaxShadowPresetQualityByType (type)
 
 getOgreMaxShadowPresetMode (stype)
 
 getOgreMaxShadowPresetModeByType (type)
 
 getResourceTypeByName (name)
 
 getResourceNameByType (type)
 
 getFileResourceType (file)
 
 getFormatedNumber (n)
 
 cbGetVarDate (mode)
 
 cbGetVarRandom ()
 
 cbGetVarIP ()
 
 cbGetVarLanguage ()
 
 InitDefaultGlobalVar ()
 

Variables

var iTypeVal =0
 
var iTypeScene =1
 
var iTypeNode =2
 
var iTypeLight =4
 
var iTypeCamera =8
 
var iTypeEntity =16
 
var iTypeMaterial =32
 
var iTypeAnim =64
 
var iTypeSkeleton =128
 
var iTypeGroup =256
 
var iTypeSkyDome =512
 
var iTypeSkyBox =1024
 
var iTypeSkyPlane =2048
 
var iTypeCompositor =4096
 
var iTypeBone =8192
 
var iTypeParticle =16384
 
var iTypeFile =32768
 
var iTypeCubeMap =65536
 
var iTypeReflectionMap =131072
 
var iTypeCinematics =262144
 
var lOS3DTypesName
 
var lOS3DNamesType
 

Function Documentation

◆ InitMainChannel()

InitMainChannel ( )

◆ getOS3DResourceTypeByName()

getOS3DResourceTypeByName ( name  )

Retrieve the resource type by name.

Prototype: fun [S] I

Parameters
S: then resource type name
Returns
I : the resource type flag

◆ getOS3DResourceNameByType()

getOS3DResourceNameByType ( type  )

Retrieve the resource name by type.

Prototype: fun [I] S

Parameters
I: then resource type flag
Returns
S : the resource type name

◆ getOgreFogType()

getOgreFogType ( stype  )

◆ getOgreFogByType()

getOgreFogByType ( type  )

◆ getOgreAnimationInterpolationType()

getOgreAnimationInterpolationType ( stype  )

◆ getOgreAnimationInterpolationByType()

getOgreAnimationInterpolationByType ( type  )

◆ getOgreAnimationRotInterpolationType()

getOgreAnimationRotInterpolationType ( stype  )

◆ getOgreAnimationRotInterpolationByType()

getOgreAnimationRotInterpolationByType ( type  )

◆ getOgreMaxLightType()

getOgreMaxLightType ( stype  )

◆ getOgreMaxLightByType()

getOgreMaxLightByType ( type  )

◆ getOgreMaxCameraShadowType()

getOgreMaxCameraShadowType ( stype  )

◆ getOgreMaxCameraShadowByType()

getOgreMaxCameraShadowByType ( type  )

◆ getOgreMaxShadowMethod()

getOgreMaxShadowMethod ( stype  )

◆ getOgreMaxShadowMethodByType()

getOgreMaxShadowMethodByType ( type  )

◆ getOgreMaxShadowPreset()

getOgreMaxShadowPreset ( stype  )

◆ getOgreMaxShadowPresetByType()

getOgreMaxShadowPresetByType ( type  )

◆ getOgreMaxShadowPresetQuality()

getOgreMaxShadowPresetQuality ( stype  )

◆ getOgreMaxShadowPresetQualityByType()

getOgreMaxShadowPresetQualityByType ( type  )

◆ getOgreMaxShadowPresetMode()

getOgreMaxShadowPresetMode ( stype  )

◆ getOgreMaxShadowPresetModeByType()

getOgreMaxShadowPresetModeByType ( type  )

◆ getResourceTypeByName()

getResourceTypeByName ( name  )

◆ getResourceNameByType()

getResourceNameByType ( type  )

◆ getFileResourceType()

getFileResourceType ( file  )

◆ getFormatedNumber()

getFormatedNumber ( )

◆ cbGetVarDate()

cbGetVarDate ( mode  )

◆ cbGetVarRandom()

cbGetVarRandom ( )

◆ cbGetVarIP()

cbGetVarIP ( )

◆ cbGetVarLanguage()

cbGetVarLanguage ( )

◆ InitDefaultGlobalVar()

InitDefaultGlobalVar ( )

Variable Documentation

◆ iTypeVal

var iTypeVal =0

◆ iTypeScene

var iTypeScene =1

◆ iTypeNode

var iTypeNode =2

◆ iTypeLight

var iTypeLight =4

◆ iTypeCamera

var iTypeCamera =8

◆ iTypeEntity

var iTypeEntity =16

◆ iTypeMaterial

var iTypeMaterial =32

◆ iTypeAnim

var iTypeAnim =64

◆ iTypeSkeleton

var iTypeSkeleton =128

◆ iTypeGroup

var iTypeGroup =256

◆ iTypeSkyDome

var iTypeSkyDome =512

◆ iTypeSkyBox

var iTypeSkyBox =1024

◆ iTypeSkyPlane

var iTypeSkyPlane =2048

◆ iTypeCompositor

var iTypeCompositor =4096

◆ iTypeBone

var iTypeBone =8192

◆ iTypeParticle

var iTypeParticle =16384

◆ iTypeFile

var iTypeFile =32768

◆ iTypeCubeMap

var iTypeCubeMap =65536

◆ iTypeReflectionMap

var iTypeReflectionMap =131072

◆ iTypeCinematics

var iTypeCinematics =262144

◆ lOS3DTypesName

var lOS3DTypesName
Initial value:
=[0 "value"]::
[1 "scene"]::
[2 "node"]::
[4 "light"]::
[8 "camera"]::
[16 "mesh"]::
[32 "material"]::
[64 "anim"]::
[128 "skeleton"]::
[256 "group"]::
[512 "skyDome"]::
[1024 "skyBox"]::
[2048 "skyPlane"]::
[4096 "compositor"]::
[8192 "bone"]::
[16384 "particle"]::
[32768 "file"]::
[65536 "cubeMap"]::
[131072 "reflectionMap"]::
[262144 "cinematics"]::
nil

◆ lOS3DNamesType

var lOS3DNamesType
Initial value:
=["value" 0]::
["scene" 1]::
["node" 2]::
["light" 4]::
["camera" 8]::
["mesh" 16]::
["material" 32]::
["anim" 64]::
["skeleton" 128]::
["group" 256]::
["skyDome" 512]::
["skyBox" 1024]::
["skyPlane" 2048]::
["compositor" 4096]::
["bone" 8192]::
["particle" 16384]::
["file" 32768]::
["cubeMap" 65536]::
["reflectionMap" 131072]::
["cinematics" 262144]::
nil