Transform Component: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
! Property !! Description | ! Property !! Description | ||
|- | |- | ||
|'''Position''' || The position of the . | |'''Position''' || The position of the GameObject in the world. From left to right, alters position along the x-axis, y-axis and z-axis in the world. | ||
|- | |- | ||
| '''Color''' || The color of the shading applied by the light source. | | '''Color''' || The color of the shading applied by the light source. |
Revision as of 05:38, 25 October 2022
The Transform Component is the base component of all GameObjects in a mod.
Component Settings
Property | Description |
---|---|
Position | The position of the GameObject in the world. From left to right, alters position along the x-axis, y-axis and z-axis in the world. |
Color | The color of the shading applied by the light source. |
Range | The distance the light source will effect objects (for directional lights this has no effect). |
Intensity | The brightness of the light source. |
Shadows | Determines if this light source will cast shadows and whether they will have a soft or hard edge). |
None | Light does not produce shadows. |
Hard | Light produces shadows with hard, crisp edges. |
Soft | Light produces shadows with soft, blurred edges. |
Position values are measured in units, which can be thought of as metres or yards. Rotation values are measured in Degrees around whichever axis