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

Functions

 newOsSceneGroupPlayer (projstr, viewstr, groupmark, name, id, father, scale, pos, ang)
 
 getGroupName (projstr, groupmark)
 
 getObjectName (projstr, id, name)
 
 getParamName (projstr, name)
 
 getBaseName (projstr, name)
 
 resetEnvironmentPlayer (projstr, viewstr, groupmark)
 
 deleteGroup (projstr, groupstr, viewstr)
 
 deleteProjectCamera (projstr, sessionstr, markstr)
 
 deleteProjectAnim (projstr, sessionstr, markstr)
 
 searchProjectResToDelete (projstr, sessionstr, markstr)
 
 stopProjectAnim (projstr, sessionstr, markstr)
 
 stopProjectAnimations (projstr, sessionstr, markstr)
 
 deleteProject (projstr, viewstr)
 
 loadCinematicsPlayer (projstr, viewstr, groupmark)
 
 getOsGroupResourcesPlayer (groupstr)
 
 loadEnvironmentPlayer (projstr, viewstr, groupmark)
 
 loadPhysicBody (sessionstr, shell, nodexml)
 
 loadBonesChildsFromXosPlayer (projstr, sessionstr, bone, meshstr)
 
 cbLoadGraphFinished (p)
 
 cbEntityLoaded (mesh, p)
 
 loadOsGraphPlayer (projstr, viewstr, srcnodemark, destgroup, father, asyncload, cbfun, trigger)
 
 getResourcesPathPlayer (groupstr, groupmark)
 
 getResourcesScriptFilesPlayer (groupstr)
 
 loadGroupResourcesPlayer (groupstr, viewstr)
 
 loadOsGroupPlayer (projstr, viewstr, groupstr, father, env, nbtasks, cbfun)
 
 cbLoadProject (p)
 
 reloadPhysicBody (sessionstr, shell, nodexml)
 
 reloadBonesChildsFromXosPlayer (projstr, sessionstr, bone, meshstr)
 
 reloadOsGraphPlayer (projstr, viewstr, srcnodemark, destgroup, father)
 
 reloadOsGroupPlayer (projstr, viewstr, groupstr, father, env)
 
 reloadProject (projstr, viewstr)
 Reload a project.
 
 loadProject (projstr, viewstr, parent, pos, ang, scale, env)
 Load a project.
 
 crProject (file, name, mode, defresgroup)
 Create a new project.
 
 setProjectFile (projstr, file)
 Set a project file.
 
 setProjectCbSceneLoaded (projstr, cbfun)
 Set the callback on scene loaded.
 
 setProjectCbSceneDestroyed (projstr, cbfun)
 Set the callback on scene destroyed.
 
 setProjectCbGroupLoaded (projstr, cbfun)
 Set the callback on group loaded.
 
 setProjectCbObjectLoaded (projstr, cbfun)
 Set the callback on object loaded.
 

Variables

proto loadOsGraphPlayer =fun [Project V3Dview XMLmark Group SO3_OBJECT [I] fun [] I I] I
 
proto loadOsGroupPlayer =fun [Project V3Dview Group SO3_OBJECT I [I] fun [] I] I
 

Function Documentation

◆ newOsSceneGroupPlayer()

newOsSceneGroupPlayer ( projstr  ,
viewstr  ,
groupmark  ,
name  ,
id  ,
father  ,
scale  ,
pos  ,
ang   
)

◆ getGroupName()

getGroupName ( projstr  ,
groupmark   
)

◆ getObjectName()

getObjectName ( projstr  ,
id  ,
name   
)

◆ getParamName()

getParamName ( projstr  ,
name   
)

◆ getBaseName()

getBaseName ( projstr  ,
name   
)

◆ resetEnvironmentPlayer()

resetEnvironmentPlayer ( projstr  ,
viewstr  ,
groupmark   
)

◆ deleteGroup()

deleteGroup ( projstr  ,
groupstr  ,
viewstr   
)

◆ deleteProjectCamera()

deleteProjectCamera ( projstr  ,
sessionstr  ,
markstr   
)

◆ deleteProjectAnim()

deleteProjectAnim ( projstr  ,
sessionstr  ,
markstr   
)

◆ searchProjectResToDelete()

searchProjectResToDelete ( projstr  ,
sessionstr  ,
markstr   
)

◆ stopProjectAnim()

stopProjectAnim ( projstr  ,
sessionstr  ,
markstr   
)

◆ stopProjectAnimations()

stopProjectAnimations ( projstr  ,
sessionstr  ,
markstr   
)

◆ deleteProject()

deleteProject ( projstr  ,
viewstr   
)

◆ loadCinematicsPlayer()

loadCinematicsPlayer ( projstr  ,
viewstr  ,
groupmark   
)

◆ getOsGroupResourcesPlayer()

getOsGroupResourcesPlayer ( groupstr  )

◆ loadEnvironmentPlayer()

loadEnvironmentPlayer ( projstr  ,
viewstr  ,
groupmark   
)

◆ loadPhysicBody()

loadPhysicBody ( sessionstr  ,
shell  ,
nodexml   
)

◆ loadBonesChildsFromXosPlayer()

loadBonesChildsFromXosPlayer ( projstr  ,
sessionstr  ,
bone  ,
meshstr   
)

◆ cbLoadGraphFinished()

cbLoadGraphFinished ( )

◆ cbEntityLoaded()

cbEntityLoaded ( mesh  ,
 
)

◆ loadOsGraphPlayer()

loadOsGraphPlayer ( projstr  ,
viewstr  ,
srcnodemark  ,
destgroup  ,
father  ,
asyncload  ,
cbfun  ,
trigger   
)

◆ getResourcesPathPlayer()

getResourcesPathPlayer ( groupstr  ,
groupmark   
)

◆ getResourcesScriptFilesPlayer()

getResourcesScriptFilesPlayer ( groupstr  )

◆ loadGroupResourcesPlayer()

loadGroupResourcesPlayer ( groupstr  ,
viewstr   
)

◆ loadOsGroupPlayer()

loadOsGroupPlayer ( projstr  ,
viewstr  ,
groupstr  ,
father  ,
env  ,
nbtasks  ,
cbfun   
)

◆ cbLoadProject()

cbLoadProject ( )

◆ reloadPhysicBody()

reloadPhysicBody ( sessionstr  ,
shell  ,
nodexml   
)

◆ reloadBonesChildsFromXosPlayer()

reloadBonesChildsFromXosPlayer ( projstr  ,
sessionstr  ,
bone  ,
meshstr   
)

◆ reloadOsGraphPlayer()

reloadOsGraphPlayer ( projstr  ,
viewstr  ,
srcnodemark  ,
destgroup  ,
father   
)

◆ reloadOsGroupPlayer()

reloadOsGroupPlayer ( projstr  ,
viewstr  ,
groupstr  ,
father  ,
env   
)

◆ reloadProject()

reloadProject ( projstr  ,
viewstr   
)

Reload a project.

Prototype: fun [Project V3Dview] Project

Parameters
Project: the project to reload
V3Dview: the 3D view to use
Returns
Project : the same Project

◆ loadProject()

loadProject ( projstr  ,
viewstr  ,
parent  ,
pos  ,
ang  ,
scale  ,
env   
)

Load a project.

Prototype: fun [Project V3Dview] Project

Parameters
Project: the project to load
V3Dview: the 3D view to use
SO3_OBJECT: parent object
[FF F] : position
[FF F F] : rotation
[FF F] : scale
I: boolean 1 to enable environment
Returns
Project : the same Project

◆ crProject()

crProject ( file  ,
name  ,
mode  ,
defresgroup   
)

Create a new project.

Prototype: fun [S I] Project

Parameters
S: project file path (XOS)
S: project name
I: project mode (0 player, 1 editor, 2 plugIT)
Returns
Project : the new Project

◆ setProjectFile()

setProjectFile ( projstr  ,
file   
)

Set a project file.

Prototype: fun [Project S] S

Parameters
Project: the project
S: project file path (XOS)
Returns
S : the same file path

◆ setProjectCbSceneLoaded()

setProjectCbSceneLoaded ( projstr  ,
cbfun   
)

Set the callback on scene loaded.

Prototype: fun [Project fun [Project] I] I

Parameters
Project: the project
fun[Project] I : the callback
Returns
Project : the same Project

◆ setProjectCbSceneDestroyed()

setProjectCbSceneDestroyed ( projstr  ,
cbfun   
)

Set the callback on scene destroyed.

Prototype: fun [Project fun [Project] I] I

Parameters
Project: the project
fun[Project] I : the callback
Returns
Project : the same Project

◆ setProjectCbGroupLoaded()

setProjectCbGroupLoaded ( projstr  ,
cbfun   
)

Set the callback on group loaded.

Prototype: fun [Project fun [Project Group] I] I

Parameters
Project: the project
fun[Project Group] I : the callback
Returns
Project : the same Project

◆ setProjectCbObjectLoaded()

setProjectCbObjectLoaded ( projstr  ,
cbfun   
)

Set the callback on object loaded.

Prototype: fun [Project fun [Project XMLmark SO3_OBJECT S I] I] I

Parameters
Project: the project
fun[Project XMLmark SO3_OBJECT S I] I : the callback
Returns
Project : the same Project

Variable Documentation

◆ loadOsGraphPlayer

proto loadOsGraphPlayer =fun [Project V3Dview XMLmark Group SO3_OBJECT [I] fun [] I I] I

◆ loadOsGroupPlayer

proto loadOsGroupPlayer =fun [Project V3Dview Group SO3_OBJECT I [I] fun [] I] I