Skip to content

Commit 4b58974

Browse files
authored
feat: adding new inputs to the light classes (#269)
1 parent 727bf20 commit 4b58974

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

fgd/bases/BaseLight.fgd

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,9 @@
4141
input Toggle(void) : "Toggle the light's current state."
4242
input SetPattern(string) : "Set a custom pattern of light brightness for this light. Pattern format is a string of characters, where 'a' is total darkness, 'z' fully bright. i.e. 'aaggnnttzz' would be a steppy fade in from dark to light."
4343
input FadeToPattern(string) : "Fades from first value in old pattern, to first value in the new given pattern. Pattern format is a string of characters, where 'a' is total darkness, 'z' fully bright. i.e. 'aaggnnttzz' would be a steppy fade in from dark to light."
44+
input SetLightColor(color255) : "Sets the light color. Light scale is set separately."
45+
input SetLightScale(float) : "Sets the light scale."
46+
input SetLightFalloff(vector) : "Vector of (Constant, Linear, Quadratic) falloff parameters for the light."
47+
input SetInnerAngle(float) : "Sets the inner angle (if this is a spotlight)."
48+
input SetOuterAngle(float) : "Sets the outer angle (if this is a spotlight)."
4449
]

0 commit comments

Comments
 (0)