_GET_PHOTO_MODE_FOCUS_DISTANCE
Returns the focus distance currently used by photo mode.
Signature
float _GET_PHOTO_MODE_FOCUS_DISTANCE(); // 0x18FC740FFDCD7454 b1207Parameters
This native takes no parameters.
Facts
| Name | _GET_PHOTO_MODE_FOCUS_DISTANCE |
|---|---|
| Hash | 0x18FC740FFDCD7454 |
| Namespace | |
| Returns | float |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x18FC740FFDCD7454, -- _GET_PHOTO_MODE_FOCUS_DISTANCE
Citizen.ResultAsFloat()
)
print(result)const result = Citizen.invokeNative("0x18FC740FFDCD7454", // _GET_PHOTO_MODE_FOCUS_DISTANCE
Citizen.resultAsFloat()
);
console.log(result)float result = Function.Call<float>((Hash)0x18FC740FFDCD7454); // _GET_PHOTO_MODE_FOCUS_DISTANCERelated CAMERA natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.