-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocumentation.xml
More file actions
40 lines (39 loc) · 1.43 KB
/
Copy pathdocumentation.xml
File metadata and controls
40 lines (39 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?xml version="1.0"?>
<documentation>
<tab name="Introduction"><]]></tab>
<tab name="Attributes"><![CDATA[# Attributes
## Keep In Mind...
The *unsigned int* type is basically a texture.
## Transform
* **transform.position** *vec3*
The position of the object that the component is attached to.
* **transform.scale** *vec3*
The scale of the object that the component is attached to.
* **transform.rotation** *float*
The rotation of the object. Controls the z-axis in a 3d space.
## Lights
* **light.type** *int*
The light's type. 0 is directional, 1 is a point light.
* **light.intensity** *float*
The light's intensity.
* **light.color** *vec3*
The light's color.
* **light.radial_falloff** *float*
Controls the attenuation of the light. A large value means that the light is focused more on a single point.
* **light.volumetric_intensity** *float*
The volumetric intensity of the light.
** You can register these values from the "Light" template. **
## Sprite
** You can load textures by pressing the "Load Texture" button in the editor. **
* **texture.color** *unsigned int*
The color texture.
* **texture.normal** *unsigned int*
The normal texture.]]></tab>
<tab name="Help"><]]></tab>
</documentation>