====== LEVEL ====== //Abstract class//\\ **Category**: Data ===== Functions ===== ---- ==== getGame ==== ''[[:api:game|GAME]] **getGame**()'' ---- ==== createObject ==== ''[[:api:game_object|GAME_OBJECT]] **createObject**([//objectSetuperCallback//])'' ^ Name ^ Type ^ Description ^ | //''objectSetuperCallback''// | ''function'' | | ''[[:api:game_object|GAME_OBJECT]] **createObject**(//prefab// [, //position// [, //orientation// [, //objectSetuperCallback//]]])'' ^ Name ^ Type ^ Description ^ | //''prefab''// | ''[[:api:prefab|PREFAB]]'' | | | //''position''// | ''[[:api:vec3f|vec3f]]'' | | | //''orientation''// | ''[[:api:quaternion|quaternion]]'' | | | //''objectSetuperCallback''// | ''function'' | | ''[[:api:game_object|GAME_OBJECT]] **createObject**(//prefab//, //objectSetuperCallback//)'' ^ Name ^ Type ^ Description ^ | //''prefab''// | ''[[:api:prefab|PREFAB]]'' | | | //''objectSetuperCallback''// | ''function'' | | ---- ==== getDeltaTime ==== ''[[:data-types#float|float]] **getDeltaTime**()'' ---- ==== getUnscaledDeltaTime ==== ''[[:data-types#float|float]] **getUnscaledDeltaTime**()'' ---- ==== getTimeScale ==== ''[[:data-types#float|float]] **getTimeScale**()'' ---- ==== getComponentManager ==== ''[[:api:component_manager|COMPONENT_MANAGER]] **getComponentManager**(//componentType//)'' ^ Name ^ Type ^ Description ^ | //''componentType''// | ''[[:data-types#component_type|component_type]]'' | | ---- ==== find ==== ''[[:api:component|COMPONENT]] **find**(//componentType// [, //enabledOnly//])'' ^ Name ^ Type ^ Description ^ | //''componentType''// | ''[[:data-types#component_type|component_type]]'' | | | //''enabledOnly''// | ''[[:data-types#boolean|boolean]]'' | | ''[[:api:component|COMPONENT]] **find**(//id//, //componentType//)'' ^ Name ^ Type ^ Description ^ | //''id''// | ''[[:data-types#guid|guid]]'' | | | //''componentType''// | ''[[:data-types#component_type|component_type]]'' | | ''[[:api:game_object|GAME_OBJECT]] **find**(//id//)'' ^ Name ^ Type ^ Description ^ | //''id''// | ''[[:data-types#guid|guid]]'' | | ''[[:api:game_object|GAME_OBJECT]] **find**(//name//)'' ^ Name ^ Type ^ Description ^ | //''name''// | ''[[:data-types#string|string]]'' | | ''void **find**(//name//, //outObjectList//)'' ^ Name ^ Type ^ Description ^ | //''name''// | ''[[:data-types#string|string]]'' | | | //''outObjectList''// | ''[[:data-types#list|list]]<[[:api:game_object|GAME_OBJECT]]>'' | //[[:annotations#out_argument|Out argument]]// | ---- ==== createPickingLine ==== ''[[:api:line|LINE]] **createPickingLine**(//screenPos//)'' ^ Name ^ Type ^ Description ^ | //''screenPos''// | ''[[:api:vec2f|vec2f]]'' | | ''[[:api:line|LINE]] **createPickingLine**(//screenPos//)'' ^ Name ^ Type ^ Description ^ | //''screenPos''// | ''[[:api:vec2i|vec2i]]'' | | ---- ==== pick ==== ''[[:data-types#boolean|boolean]] **pick**(//line//, //outPosition//, //outObject// [, //flag// [, //recursiveFlag// [, //objectToSearchInto//]]])'' ^ Name ^ Type ^ Description ^ | //''line''// | ''[[:api:line|LINE]]'' | | | //''outPosition''// | ''[[:api:vec3f|vec3f]]'' | //[[:annotations#out_argument|Out argument]]// | | //''outObject''// | ''[[:api:game_object|GAME_OBJECT]]'' | //[[:annotations#out_argument|Out argument]]// | | //''flag''// | ''[[:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' | | | //''recursiveFlag''// | ''[[:data-types#boolean|boolean]]'' | | | //''objectToSearchInto''// | ''[[:api:game_object|GAME_OBJECT]]'' | | ''[[:data-types#boolean|boolean]] **pick**(//screenPosition//, //outPosition//, //outObject// [, //flag// [, //recursiveFlag// [, //objectToSearchInto//]]])'' ^ Name ^ Type ^ Description ^ | //''screenPosition''// | ''[[:api:vec2i|vec2i]]'' | | | //''outPosition''// | ''[[:api:vec3f|vec3f]]'' | //[[:annotations#out_argument|Out argument]]// | | //''outObject''// | ''[[:api:game_object|GAME_OBJECT]]'' | //[[:annotations#out_argument|Out argument]]// | | //''flag''// | ''[[:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' | | | //''recursiveFlag''// | ''[[:data-types#boolean|boolean]]'' | | | //''objectToSearchInto''// | ''[[:api:game_object|GAME_OBJECT]]'' | | ---- ==== pickObject ==== ''[[:api:game_object|GAME_OBJECT]] **pickObject**(//line// [, //flag// [, //recursiveFlag// [, //objectToSearchInto//]]])'' ^ Name ^ Type ^ Description ^ | //''line''// | ''[[:api:line|LINE]]'' | | | //''flag''// | ''[[:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' | | | //''recursiveFlag''// | ''[[:data-types#boolean|boolean]]'' | | | //''objectToSearchInto''// | ''[[:api:game_object|GAME_OBJECT]]'' | | ''[[:api:game_object|GAME_OBJECT]] **pickObject**(//screenPosition// [, //flag// [, //recursiveFlag// [, //objectToSearchInto//]]])'' ^ Name ^ Type ^ Description ^ | //''screenPosition''// | ''[[:api:vec2i|vec2i]]'' | | | //''flag''// | ''[[:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' | | | //''recursiveFlag''// | ''[[:data-types#boolean|boolean]]'' | | | //''objectToSearchInto''// | ''[[:api:game_object|GAME_OBJECT]]'' | | ---- ==== pickPosition ==== ''[[:data-types#boolean|boolean]] **pickPosition**(//line//, //outPosition// [, //flag// [, //recursiveFlag// [, //objectToSearchInto//]]])'' ^ Name ^ Type ^ Description ^ | //''line''// | ''[[:api:line|LINE]]'' | | | //''outPosition''// | ''[[:api:vec3f|vec3f]]'' | //[[:annotations#out_argument|Out argument]]// | | //''flag''// | ''[[:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' | | | //''recursiveFlag''// | ''[[:data-types#boolean|boolean]]'' | | | //''objectToSearchInto''// | ''[[:api:game_object|GAME_OBJECT]]'' | | ''[[:data-types#boolean|boolean]] **pickPosition**(//screenPosition//, //outPosition// [, //flag// [, //recursiveFlag// [, //objectToSearchInto//]]])'' ^ Name ^ Type ^ Description ^ | //''screenPosition''// | ''[[:api:vec2i|vec2i]]'' | | | //''outPosition''// | ''[[:api:vec3f|vec3f]]'' | //[[:annotations#out_argument|Out argument]]// | | //''flag''// | ''[[:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' | | | //''recursiveFlag''// | ''[[:data-types#boolean|boolean]]'' | | | //''objectToSearchInto''// | ''[[:api:game_object|GAME_OBJECT]]'' | | ---- ==== worldToScreenCoordinates ==== ''[[:data-types#boolean|boolean]] **worldToScreenCoordinates**(//worldPosition//, //outScreenPosition//)'' ^ Name ^ Type ^ Description ^ | //''worldPosition''// | ''[[:api:vec3f|vec3f]]'' | | | //''outScreenPosition''// | ''[[:api:vec2f|vec2f]]'' | //[[:annotations#out_argument|Out argument]]// | ''[[:api:vec2f|vec2f]] **worldToScreenCoordinates**(//worldPosition//)'' ^ Name ^ Type ^ Description ^ | //''worldPosition''// | ''[[:api:vec3f|vec3f]]'' | | ---- ==== isVisibleOnScreen ==== ''[[:data-types#boolean|boolean]] **isVisibleOnScreen**(//worldPosition//)'' ^ Name ^ Type ^ Description ^ | //''worldPosition''// | ''[[:api:vec3f|vec3f]]'' | | ---- ==== rayCast ==== ''[[:data-types#boolean|boolean]] **rayCast**(//screenPosition//, //distance//, //outResult// [, //flag//])'' ^ Name ^ Type ^ Description ^ | //''screenPosition''// | ''[[:api:vec2i|vec2i]]'' | | | //''distance''// | ''[[:data-types#float|float]]'' | | | //''outResult''// | ''[[:api:physics_ray_result|PHYSICS_RAY_RESULT]]'' | //[[:annotations#out_argument|Out argument]]// | | //''flag''// | ''[[:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' | | ''[[:data-types#boolean|boolean]] **rayCast**(//from//, //to//, //outResult// [, //flag//])'' ^ Name ^ Type ^ Description ^ | //''from''// | ''[[:api:vec3f|vec3f]]'' | | | //''to''// | ''[[:api:vec3f|vec3f]]'' | | | //''outResult''// | ''[[:api:physics_ray_result|PHYSICS_RAY_RESULT]]'' | //[[:annotations#out_argument|Out argument]]// | | //''flag''// | ''[[:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' | |