SetCoronaReflectionEnabled: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Client function}}
{{Client function}}
__NOTOC__
__NOTOC__
{{Added feature/item|1.5.9|1.5.8|21251|Sets visibility of corona reflection.}}
{{Added feature/item|1.5.9|1.5.8|21251|This function sets visibility of corona reflection.}}


==Syntax==  
==Syntax==  
Line 13: Line 13:


===Returns===
===Returns===
Returns ''true'' if marker type is ''corona'', ''false'' otherwise.
Returns ''true'' if [[setMarkerType|marker type]] is ''corona'', ''false'' otherwise.
 
==Issues==
{{Issues|
{{Issue|2755|Corona reflections do not render on custom placed objects}}
{{Issue|2750|Corona reflections do not render on all roads}}
}}


==See Also==
==See Also==
{{client marker functions}}
{{client marker functions}}* [[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