SetMarkerSize: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
This function sets the size of the specified marker | This function sets the size of the specified marker. | ||
==Syntax== | ==Syntax== | ||
Line 8: | Line 8: | ||
===Required Arguments=== | ===Required Arguments=== | ||
*'''theMarker''' | *'''theMarker:''' The [[marker]] that you wish to retrieve the size of. | ||
*'''size''' | *'''size:''' The new size of the marker. | ||
===Returns=== | |||
Returns ''true'' if successful, ''false'' if failed. | |||
==Example== | ==Example== | ||
This example creates a marker at the position 1000, 1000, 1000 and sets | This example creates a marker at the position 1000, 1000, 1000 and sets its size to ''2.5''. | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
newmarker = createMarker ( 1, 1000, 1000, 1000, 1,0,0 ) | newmarker = createMarker ( 1, 1000, 1000, 1000, 1,0,0 ) |
Revision as of 12:02, 16 August 2007
This function sets the size of the specified marker.
Syntax
bool setMarkerSize ( marker theMarker, float size )
Required Arguments
- theMarker: The marker that you wish to retrieve the size of.
- size: The new size of the marker.
Returns
Returns true if successful, false if failed.
Example
This example creates a marker at the position 1000, 1000, 1000 and sets its size to 2.5.
newmarker = createMarker ( 1, 1000, 1000, 1000, 1,0,0 ) setMarkerSize ( newmarker, 2.5)
See Also
- createMarker
- getMarkerColor
- getMarkerCount
- getMarkerIcon
- getMarkerSize
- getMarkerTarget
- getMarkerType
- setMarkerColor
- setMarkerIcon
- setMarkerSize
- setMarkerTarget
- setMarkerType
- isElementWithinMarker