console API starts to work...
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<style>
|
||||
.kf-editor .inner-console .results .api-summary{ border: 1px solid white;margin: .5em;width: 90%; }
|
||||
.kf-editor .inner-console .results .api-summary h1{
|
||||
font-size: 1.5em;
|
||||
margin: 0;
|
||||
padding: 0 .5em 0 .5em;
|
||||
background-color: #473;
|
||||
color: white;
|
||||
width: auto;
|
||||
}
|
||||
.kf-editor .inner-console .results .title{
|
||||
background: #DDD;
|
||||
color: black;
|
||||
}
|
||||
</style>
|
||||
<div class="title">Javascript Keyframe console</div>
|
||||
Use any combination of Javascript and API calls to update your keyframe scene.<br>
|
||||
Special commands:<br>
|
||||
"\help" for help & API<br>
|
||||
"\clear" to clear results<br>
|
||||
<div class="api-summary">
|
||||
<h1>API:</h1>
|
||||
<ul>
|
||||
<li>Create an agent: <b>newAgent(type, properties)</b> - returns the AID</li>
|
||||
<li>Remove an agent: <b>removeAgent(aid)</b></li>
|
||||
<li>Update an agent: <b>updateAgent(aid, properties)</b></li>
|
||||
</ul>
|
||||
</div>
|
||||
Reference in New Issue
Block a user