Type designations for Puzzle blocks

From Verge3D Wiki
Jump to navigationJump to search

This page contains relations between Puzzle names and block type designations used in the visual_logic.xml/visual_logic.js files. It is intended to serve as a low-level reference for inspecting and learning the internals of Puzzles scenarios.

For convenience, we also include the links to the corresponding help pages in the User Manual.

Puzzle Name Block Type User Manual Link
configure application initSettings doc
setup preloader initPreloader doc
percentage percentage doc
load font loadFont doc
load library loadLibrary doc
when clicked whenClicked doc
picked object pickedObject doc
when hovered whenHovered doc
hovered object hoveredObject doc
when moved whenMoved doc
when dragged over whenDraggedOver doc
drag move dragMoveAdv doc
drag rotate dragRotateAdv doc
drag scale dragScale doc
dragged object draggedObject doc
select object objectList doc
all objects allObjectList doc
select group groupList doc
select animation animationList doc
select material materialList doc
get by name getEntityByName doc
show show doc
hide hide doc
is visible isObjectVisible doc
clone object cloneObject doc
create object createObject doc
remove object removeObject doc
set position/rotation/scale setObjTransform doc
get position/rotation/scale getObjTransform doc
change local position/rotation/scale applyObjLocalTransform doc
snap to object snapToObject doc
parent to object makeParent doc
set object direction setObjDirection doc
get object direction getObjDirection doc
get objects from getObjectsFrom doc
set morph factor setMorphFactor doc
get morph factor getMorphFactor doc
make object from makeObjectCSG doc
add annotation addAnnotation doc
remove annotation removeAnnotation doc
open annotation openAnnotation doc
close annotation closeAnnotation doc
create text object createTextObject doc
update text object updateTextObject doc
get object dimension getObjectDimension doc
distance distanceBetweenObjects doc
get custom props getObjCustomProps doc
outline outline doc
set shadow param setShadowParam doc
update light probe object(s) updateLightProbe doc
create instances createInstances doc
assign material assignMaterial doc
replace texture replaceTexture doc
get param of texture getTextureParam doc
set color setMaterialColor doc
get color getMaterialColor doc
set value setMaterialValue doc
get value getMaterialValue doc
material from getObjectMaterial doc
total materials totalMaterials doc
texture from text textureFromTextAdv doc
color picker getColorFromPicker doc
R G B getColorFromValues doc
from RAL color code cssColorFromRAL doc
to RAL color code / name cssColorToRAL doc
generate normal map generateNormalMap doc
wireframe enable/disable setMaterialWireframe doc
play animation playAnimationAdv doc
stop animation stopAnimation doc
pause animation pauseAnimation doc
resume animation resumeAnimation doc
set animation frame setAnimationFrame doc
get animation frame getAnimationFrame doc
is anim playing isAnimationPlaying doc
set animation speed setAnimationSpeed doc
get animation speed getAnimationSpeed doc
on animation frame do onAnimationFrameDo doc
get animation of getAnimations doc
assign animation assignAnimation doc
clone animation cloneAnimation doc
animate param animateParam doc
updated value animateParamUpdate doc
stop animate param animateParamStop doc
limit transform objConstraintAddLimit doc
copy transform objConstraintAddCopy doc
remove / mute / unmute constraint objConstraintOperations doc
camera look at lookAt doc
tween camera to tweenCameraExt doc
zoom camera to zoomCameraToObject doc
set active camera setActiveCamera doc
active camera getActiveCamera doc
autorotate camera autoRotateCamera doc
get camera direction getCameraDirection doc
set param for camera setCameraParam doc
get param from camera getCameraParam doc
set param for light setLightParam doc
get param from light getLightParam doc
load scene loadScene doc
append scene appendScene doc
unload scene unloadScene doc
is scene loaded isSceneLoaded doc
percentage percentage2 doc
enable rendering enableRendering doc
disable rendering disableRendering doc
create environment createEnvironment doc
batch geometry batchGeometry doc
export to gltf exportToGLTF doc
export to usdz exportToUSDZ doc
raycast raycast doc
add fog addFog doc
after setTimeout doc
every setInterval doc
every frame everyFrame doc
elapsed delta elapsed doc
elapsed total elapsedTotal doc
set timer setTimer doc
remove timer removeTimer doc
system date / time getDateTime doc
add HTML elem addHTMLElement doc
remove HTML elem removeHTMLElement doc
set prop setHTMLElemAttribute doc
get prop getHTMLElemAttribute doc
create CSS rule createCSSRule doc
style constructor cssStyleList doc
set style setHTMLElemStyle doc
get style getHTMLElemStyle doc
set style for CSS rule setCSSRuleStyle doc
css class operation cssClassOperation doc
on event of eventHTMLElem doc
get event property getEventProperty doc
DOM object selector DOMObjectSelector doc
query selector querySelector doc
call method domObjectCall doc
create canvas elem createCanvasElem doc
draw line from obj drawLineObjectHTML doc
remove line from obj removeLineObjectHTML doc
bind elem bindHTMLObject doc
unbind elem unbindHTMLObject doc
init fullscreen initFullscreen doc
open web page openWebPage doc
sharing link socialShareLink doc
set URL param setUrlParam doc
get URL data getUrlData doc
take screenshot takeScreenshot doc
download file downloadFile doc
open file openFile doc
opened file openedFile doc
drop file to dropFileTo doc
check VR mode checkVRMode doc
enter VR mode enterVRMode doc
check AR mode checkARMode doc
enter AR mode enterARMode doc
detect surface AR arHitTest doc
AR hit point arHitPoint doc
AR hit normal arHitNormal doc
camera control object xrCameraControlObject doc
on session event xrSessionEvent doc
traverse controllers traverseControllers doc
get controller prop xrControllerProp doc
end AR/VR session endVRMode doc
load sound loadSoundAdv doc
load video loadVideo doc
play playSound doc
pause pauseSound doc
stop stopSound doc
rewind rewindSound doc
set playback time setPlaybackTime doc
get playback time getPlaybackTime doc
get duration getDuration doc
set playback rate setPlaybackRate doc
is playing isSoundPlaying doc
set volume volume doc
mute soundVideoMute doc
unmute soundVideoUnmute doc
positional speaker soundPositionalSpeaker doc
synth sound synthSound doc
note number getNoteNumber doc
drum number getDrumNumber doc
create physics world createPhysicsWorld doc
create rigid body createPhysicsBody doc
create soft body createSoftBody doc
remove physics body removePhysicsBody doc
apply body param physicsBodyApplyParam doc
get body param physicsBodyGetParam doc
set body state setBodyState doc
on simulation tick onSimulationTick doc
snap body snapBody doc
add constraint to addPhysicsConstraint doc
remove constraint from removePhysicsConstraint doc
anchor soft body softBodyAnchor doc
apply soft body param softBodyApplyParam doc
get soft body param softBodyGetParam doc
detect collisions detectCollision doc
collision info collisionInfo doc
afterimage afterimage doc
bloom bloom doc
brightness/contrast brightnessContrast doc
depth of field dof doc
grayscale grayscale doc
simple refraction refraction doc
screen space reflection/refraction ssr doc
remove post-effects removePostprocessing doc
if / else controls_if doc
if / else controls_ifelse doc
comparison logic_compare doc
logical operators AND / OR logic_operation doc
logical operator NOT logic_negate doc
true / false logic_boolean doc
null logic_null doc
test logic_ternary doc
repeat controls_repeat_ext doc
for each in list controls_forEach doc
for each in dict forEachInDict doc
count with controls_for doc
repeat while / until controls_whileUntil doc
break / continue controls_flow_statements doc
text text doc
text multi-line textMultiline doc
create text text_join doc
append text text_append doc
replace text_replace doc
reverse text_reverse doc
length text_length doc
is empty text_isEmpty doc
find text_indexOf doc
get letter text_charAt doc
get region text_getSubstring doc
adjust case text_changeCase doc
trim spaces text_trim doc
count text_count doc
new line textNewLine doc
convert to number convertToNumber doc
prompt text_prompt_ext doc
number math_number doc
angle angle doc
arithmetic operation (with two inputs) math_arithmetic doc
arithmetic operation (with single input) math_single doc
round (to integer) math_round doc
round with precision toFixedPoint doc
check math_number_property doc
clamp math_constrain doc
map range mapRange doc
random integer math_random_int doc
random fraction math_random_float doc
remainder math_modulo doc
operations on list math_on_list doc
trigonometric functions math_trig doc
constants math_constant doc
vector createVector doc
set vector setVectorValue doc
get vector getVectorValue doc
vector math vectorMath doc
create lists_create_with doc
length lists_length doc
get / remove lists_getIndex doc
set / insert lists_setIndex doc
create empty lists_create_empty doc
create with item repeated lists_repeat doc
reverse lists_reverse doc
is empty lists_isEmpty doc
find lists_indexOf doc
check item listsCheckItem doc
get sub-list lists_getSublist doc
sort lists_sort doc
list from text / text from list lists_split doc
create empty dict dictCreateEmpty doc
create dict dictCreate doc
create dict with dictCreateWith doc
dict set key dictSet doc
dict get key dictGet doc
get keys dictGetKeys doc
dict check key dictCheck doc
dict remove key dictRemove doc
is empty dictIsEmpty doc
print to console console.log doc
print performance info printPerformanceInfo doc
check performance checkPerformance doc
feature available featureAvailable doc
get GPU getGPU doc
set screen scale setScreenScale doc
native screen scale nativeScreenScale doc
detect gamepad device detectGamepad doc
gamepad index gamepadIndex doc
get gamepad property getGamepadProp doc
storage set localStorageSet doc
storage get localStorageGet doc
storage remove localStorageRemove doc
storage check localStorageCheck doc
close app closeApp doc
comment comment doc
exec script execScript doc
call external function callJSFunction doc
call external function callJSFunctionWithReturn doc
load data loadFile doc
send data sendData doc
loaded data loadedFile doc
stringify json stringifyJSON doc
parse json readJSON doc
read CSV readCSV doc
connector connector doc
connector (slot-based) connectorSlot doc
save state saveState doc
undo state undoState doc
all variable names allVariableNames doc
variable value by name getVariableValueByName doc
JavaScript object getJavaScriptObject doc
wait promise waitPromise doc
promise value promiseValue doc
get procedure getProcedure doc
call procedure callProcedure doc
call procedure callProcedureWithReturn doc
add event listener addEventListener doc
remove event listener removeEventListener doc
dispatch event dispatchEvent doc
variable set variables_set doc
variable get variables_get doc
variable change math_change doc
define procedure procedures_defnoreturn doc
define procedure procedures_defreturn doc
if return procedures_ifreturn doc
call procedure procedures_callnoreturn doc
call procedure procedures_callreturn doc

See also

Raw code of Puzzles scenarios for stock Verge3D demos