SetCoronaReflectionEnabled: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
 
Line 22: Line 22:


==See Also==
==See Also==
{{client marker functions}}
{{client marker functions}}* [[setCoronaReflectionsEnabled]]
* [[setCoronaReflectionsEnabled]]
* [[getCoronaReflectionsEnabled]]

Latest revision as of 19:11, 18 October 2022

This function sets visibility of corona reflection.

Syntax

bool setCoronaReflectionEnabled ( marker theMarker, bool enabled )

OOP Syntax Help! I don't understand this!

Method: Marker:setCoronaReflectionEnabled(...)
Counterpart: isCoronaReflectionEnabled


Required Arguments

  • theMarker: the corona marker that you wish set visibility of corona reflection
  • enabled: whenever corona reflection should be visible

Returns

Returns true if marker type is corona, false otherwise.

Issues

Issue ID Description
#2755 Corona reflections do not render on custom placed objects
#2750 Corona reflections do not render on all roads

See Also