User Tools

Site Tools


data-types

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
data-types [2022/09/12 16:22] maximedata-types [2023/09/14 14:52] (current) – [vec2f] polymorphgames
Line 45: Line 45:
 <file lua> <file lua>
 local value = "String value" local value = "String value"
 +</file>
 +
 +----
 +
 +==== guid ====
 +
 +GUID are unique identifiers used to reference Assets or Game Objects. It can be interpreted from a string.
 +
 +<file lua>
 +local value = "645318b0-021a-4e02-9f91-bd18300e491a"
 </file> </file>
  
Line 57: Line 67:
 local value = { 54, 97 } local value = { 54, 97 }
 </file> </file>
 +
 +[[api:vec2i|Full vec2i api]].
  
 ---- ----
Line 68: Line 80:
 local value = { 73.0, 15.66 } local value = { 73.0, 15.66 }
 </file> </file>
 +
 +[[api:vec2f|Full vec2f api]].
  
 ---- ----
Line 79: Line 93:
 local value = { 19, 86, 45 } local value = { 19, 86, 45 }
 </file> </file>
 +
 +[[api:vec3i|Full vec3i api]].
  
 ---- ----
Line 84: Line 100:
 ==== vec3f ==== ==== vec3f ====
  
-3D float vector+3D float vector.
  
 To initialize a ''vec3f'' with ''x = -15.71'', ''y = -71'' and ''z = 93.03'': To initialize a ''vec3f'' with ''x = -15.71'', ''y = -71'' and ''z = 93.03'':
Line 90: Line 106:
 local value = { -15.71, -71.0, 93.03 } local value = { -15.71, -71.0, 93.03 }
 </file> </file>
 +
 +[[api:vec3f|Full vec3f api]].
  
 ---- ----
data-types.1663014120.txt.gz · Last modified: 2022/09/12 16:22 by maxime

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki