IsCoronaReflectionEnabled: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "{{Client function}} __NOTOC__ {{Added feature/item|1.5.9|1.5.8|21251|Gets visibility of corona reflection.}} ==Syntax== <syntaxhighlight lang="lua"> bool isCoronaReflectionEnabled ( marker theMarker ) </syntaxhighlight> ===Required Arguments=== *'''theMarker:''' marker ===Returns=== * Returns ''false'' is marker type is not ''corona''. * Returns ''true'' if corona reflection is enabled, ''false'' otherwise. ==See Also== {{client marker functions}}")
 
No edit summary
 
(3 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|Gets visibility of corona reflection.}}
{{Added feature/item|1.5.9|1.5.8|21251|This function gets visibility of corona reflection.}}
 
==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
bool isCoronaReflectionEnabled ( marker theMarker )
bool isCoronaReflectionEnabled ( marker theMarker )
</syntaxhighlight>  
</syntaxhighlight>  
 
{{OOP||[[Marker]]:isCoronaReflectionEnabled||setCoronaReflectionEnabled}}
===Required Arguments===  
===Required Arguments===  
*'''theMarker:''' marker
*'''theMarker:''' marker


===Returns===
===Returns===
* Returns ''false'' is marker type is not ''corona''.
* Returns ''false'' is [[setMarkerType|marker type]] is not ''corona''.
* Returns ''true'' if corona reflection is enabled, ''false'' otherwise.
* Returns ''true'' if corona reflection is enabled, ''false'' otherwise.


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

Latest revision as of 19:12, 18 October 2022

This function gets visibility of corona reflection.

Syntax

bool isCoronaReflectionEnabled ( marker theMarker )

OOP Syntax Help! I don't understand this!

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


Required Arguments

  • theMarker: marker

Returns

  • Returns false is marker type is not corona.
  • Returns true if corona reflection is enabled, false otherwise.

See Also