DxDrawWiredSphere: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
CrosRoad95 (talk | contribs)  (Created page with "__NOTOC__  {{Client function}}  This function drawn same sphere as /showcol. It provides 4 levels of iterations which mean density of sphere. Adjust radius to iterations to ge...")  | 
				CrosRoad95 (talk | contribs)  No edit summary  | 
				||
| Line 19: | Line 19: | ||
==Example==    | ==Example==    | ||
<syntaxhighlight lang="lua">  | <syntaxhighlight lang="lua">  | ||
-- todo  | -- todo  | ||
</syntaxhighlight>  | |||
==See Also==  | ==See Also==  | ||
{{Drawing_functions}}  | {{Drawing_functions}}  | ||
[[dxDrawWiredSphere]]  | [[dxDrawWiredSphere]]  | ||
Revision as of 20:39, 22 October 2019
This function drawn same sphere as /showcol. It provides 4 levels of iterations which mean density of sphere. Adjust radius to iterations to get optimum density of mesh. About 50 spheres with iterations = 4 can cause fps drop.
Syntax
bool dxDrawWiredSphere( float x, float y, float z, float radius, color theColor, float fLineWidth, uint iterations )
Required Arguments
- x, y, z: A position in world of sphere.
 - radius: A radius of sphere.
 - theColor: A color of sphere from tocolor function.
 - fLineWidth: A width of line
 - iterations : Number 1, 2, 3 or 4. 1 mean low density, 4 mean high.
 
Returns
Returns a true if the operation was successful, false otherwise.
Example
-- todo
See Also
- dxConvertPixels
 - dxCreateFont
 - dxCreateRenderTarget
 - dxCreateScreenSource
 - dxCreateShader
 - dxCreateTexture
 - dxDrawCircle
 - dxDrawImage
 - dxDrawImageSection
 - dxDrawLine
 - dxDrawLine3D
 - dxDrawMaterialLine3D
 - dxDrawMaterialPrimitive
 - dxDrawMaterialPrimitive3D
 - dxDrawMaterialSectionLine3D
 - dxDrawPrimitive
 - dxDrawPrimitive3D
 - dxDrawRectangle
 - dxDrawText
 - dxDrawWiredSphere
 - dxGetBlendMode
 - dxGetFontHeight
 - dxGetMaterialSize
 - dxGetPixelColor
 - dxGetPixelsSize
 - dxGetPixelsFormat
 - dxGetStatus
 - dxGetTextSize
 - dxGetTextWidth
 - dxGetTexturePixels
 - dxIsAspectRatioAdjustmentEnabled
 - dxSetAspectRatioAdjustmentEnabled
 - dxSetBlendMode
 - dxSetPixelColor
 - dxSetRenderTarget
 - dxSetShaderValue
 - dxSetShaderTessellation
 - dxSetShaderTransform
 - dxSetTestMode
 - dxSetTextureEdge
 - dxSetTexturePixels
 - dxUpdateScreenSource