osGetDrawStringSize
OSSLvector osGetDrawStringSize(string contentType, string text, string fontName, integer fontSize)
Returns a vector containing the horizontal and vertical dimensions in pixels of the specified text
Parameters
| Type | Name |
|---|---|
| string | contentType |
| string | text |
| string | fontName |
| integer | fontSize |
Energy
10
OpenSimulator extensions. Some are gated by threat level and a region may refuse them.
More in OSSL
void osNpcStopMoveToTarget(key npc)
void osCollisionSound(string impact_sound, float impact_volume)
float osGetCurrentSunHour()
string osDrawRotationTransform(string drawList, float x)
integer osApproxEquals(rotation ra, rotation rb, float margin)
void osForceAttachToOtherAvatarFromInventory(string rawAvatarId, string itemName, integer attachmentPoint)
void osForceAttachToAvatarFromInventory(string itemName, integer attachment)
void osSetInertiaAsSphere(float mass, float radius, vector centerOfMass)