Transform Component: Difference between revisions

From Pummel Party Mod Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
! Property !! Description
! Property !! Description
|-
|-
|'''Type''' || The shape of the light.
|'''Position''' || The position of the .
|-
| 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.
| '''Color''' || The color of the shading applied by the light source.

Revision as of 05:37, 25 October 2022

The Transform Component is the base component of all GameObjects in a mod.

Component Settings

Transform component box.png
Property Description
Position The position of the .
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