setMarkerSize
Client-side
Server-side
Shared
Needs checking
This function was partially migrated from the old wiki. Please review manually:
- Missing section: Client
- Missing section: Server
Pair: getMarkerSize
Manual Review Required
Please finish this page using the corresponding Old Wiki article. Go to Contribution guidelines for more information.
This function sets the size of the specified marker.
OOP Syntax Help! I don't understand this!
- Method:marker:setSize(...)
- Variable: .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
- bool: value
Returns true if successful, false if failed.
Code Examples
shared
This example creates a cylinder marker at the position 0, 0, 2 and sets its size to2.5.
local newMarker = createMarker ( 0, 0, 2, "cylinder", 1 )setMarkerSize ( newMarker, 2.5 )