SetMarkerSize: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
{{Server client function}} | {{Server client function}} | ||
This function sets the size of the specified marker. | This function sets the size of the specified marker. | ||
NOTE: Setting negative value will "flip" the marker, do nothing or make it invisible: | |||
*cylinder or arrow = upside down | |||
*ring = inside out | |||
*checkpoint = disappear | |||
*corona = nothing, just changes the size | |||
==Syntax== | ==Syntax== |
Revision as of 22:40, 8 October 2008
This function sets the size of the specified marker.
NOTE: Setting negative value will "flip" the marker, do nothing or make it invisible:
- cylinder or arrow = upside down
- ring = inside out
- checkpoint = disappear
- corona = nothing, just changes the size
Syntax
bool setMarkerSize ( marker theMarker, float size )
Required Arguments
- theMarker: The marker that you wish to set the size of.
- size: A float representing new size of the marker.
Returns
Returns true if successful, false if failed.
Example
This example creates a cylinder marker at the position 1000, 1000, 1000 and sets its size to 2.5.
newmarker = createMarker ( 1000, 1000, 1000, "cylinder" ) setMarkerSize ( newmarker, 2.5 )
See Also
Client
- isCoronaReflectionEnabled
- setCoronaReflectionEnabled
- Shared
- createMarker
- getMarkerColor
- getMarkerCount
- getMarkerIcon
- getMarkerSize
- getMarkerTarget
- getMarkerType
- setMarkerColor
- setMarkerIcon
- setMarkerSize
- setMarkerTarget
- setMarkerType
- isElementWithinMarker
Server
- createMarker
- getMarkerColor
- getMarkerCount
- getMarkerIcon
- getMarkerSize
- getMarkerTarget
- getMarkerType
- setMarkerColor
- setMarkerIcon
- setMarkerSize
- setMarkerTarget
- setMarkerType
- isElementWithinMarker