DxSetAspectRatioAdjustmentEnabled: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 23: | Line 23: | ||
==Requirements== | ==Requirements== | ||
{{Requirements|n/a|1.3.3- | {{Requirements|n/a|1.3.3-9.05547}} | ||
==Example== | ==Example== |
Revision as of 19:39, 26 June 2013
Script Example Missing Function DxSetAspectRatioAdjustmentEnabled needs a script example, help out by writing one. | |
Before submitting check out Editing Guidelines Script Examples. |
Todo. This function is default enabled for the customblips resource and does only works during these events: onClientRender, onClientPreRender and onClientHUDRender
Syntax
bool dxSetAspectRatioAdjustmentEnabled ( bool bEnabled [, float fSourceRatio = 4/3 ] )
Required Arguments
- bEnabled: Should the adjustment be enabled or disabled.
Optional Arguments
NOTE: When using optional arguments, you might need to supply all arguments before the one you wish to use. For more information on optional arguments, see optional arguments.
- fSourceRatio : Todo.
Returns
Returns true when the it was changed successfully, or false otherwise.
Requirements
This template will be deleted.
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