SetCoronaReflectionEnabled: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 14: Line 14:
===Returns===
===Returns===
Returns ''true'' if [[setMarkerType|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}}

Revision as of 21:05, 7 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