Editing
CTEDynamicLight
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== SendProps == {| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;" |+CTEDynamicLight ! style="width: 50%; background-color: #303030; color: white" |Name ! style="width: 15%; background-color: #303030; color: white" |Type ! style="width: 35%; background-color: #303030; color: white" |Description |- | style="width: 50%;" |'''m_vecOrigin''' | style="width: 15%;" |Vector | style="width: 35%;" |The origin of the light |- | style="width: 50%;" |'''r''' | style="width: 15%;" |Integer | style="width: 35%;" |The red value |- | style="width: 50%;" |'''g''' | style="width: 15%;" |Integer | style="width: 35%;" |The green value |- | style="width: 50%;" |'''b''' | style="width: 15%;" |Integer | style="width: 35%;" |The blue value |- | style="width: 50%;" |'''exponent''' | style="width: 15%;" |Integer | style="width: 35%;" |The brightness. 1 - 10 is a good range, past around the 20 mark the light begins to cease to function properly. |- | style="width: 50%;" |'''m_fRadius''' | style="width: 15%;" |Float | style="width: 35%;" |The radius or range in Hammer Units that the light casts |- | style="width: 50%;" |'''m_fTime''' | style="width: 15%;" |Float | style="width: 35%;" |How long in seconds this light will remain on |- | style="width: 50%;" |'''m_fDecay''' | style="width: 15%;" |Float | style="width: 35%;" |How fast should this light fade away (does not interact with or consider m_fTime). Specifying a negative value does not make the light "grow" |}
Summary:
Please note that all contributions to SigMod are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
SigMod:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
British English
Views
Read
Edit
Edit source
View history
More
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information