Transform Component: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
== Component Settings == | == Component Settings == | ||
[[File:Transform component box.png|frame|none]] | [[File:Transform component box.png|frame|none]] | ||
{| class="wikitable" | |||
|- | |||
! Property !! Description | |||
|- | |||
|'''Type''' || The shape of the light. | |||
|- | |||
| style="padding-left: 2em;" | ''Point'' || Like a light bulb, shines light out in all directions from a single point. | |||
|- | |||
| style="padding-left: 2em;" | ''Spot'' || Shaped like a spot light, projecting light from a single point out in a cone shape. | |||
|- | |||
| style="padding-left: 2em;" | ''Directional'' || Similar to the sun, shines light from a given direction. | |||
|- | |||
| '''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). | |||
|- | |||
| style="padding-left: 2em;" | ''None'' || Light does not produce shadows. | |||
|- | |||
| style="padding-left: 2em;" | ''Hard'' || Light produces shadows with hard, crisp edges. | |||
|- | |||
| style="padding-left: 2em;" | ''Soft'' || Light produces shadows with soft, blurred edges. | |||
|} | |||
Revision as of 05:36, 25 October 2022
The Transform Component is the base component of all GameObjects in a mod.
Component Settings
Property | Description |
---|---|
Type | The shape of the light. |
Point | Like a light bulb, shines light out in all directions from a single point. |
Spot | Shaped like a spot light, projecting light from a single point out in a cone shape. |
Directional | Similar to the sun, shines light from a given direction. |
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