Show / Hide Table of Contents

Struct HeatHaze

Struct to define different heat haze properties in the GTA world

Inherited Members
ValueType.Equals(Object)
ValueType.GetHashCode()
ValueType.ToString()
Object.Equals(Object, Object)
Object.GetType()
Object.ReferenceEquals(Object, Object)
Namespace: Slipe.Shared.GameWorld
Assembly: SlipeShared.dll
Syntax
public struct HeatHaze

Constructors

| Improve this Doc View Source

HeatHaze(Int32, Int32, Int32, Int32)

Heat haze with optional paramters as default

Declaration
public HeatHaze(int intensity = 0, int randomShift = 0, int speedMin = 12, int speedMax = 18)
Parameters
Type Name Description
Int32 intensity
Int32 randomShift
Int32 speedMin
Int32 speedMax
| Improve this Doc View Source

HeatHaze(Int32, Int32, Int32, Int32, Vector2, Vector2, Boolean)

Create a heat haze struct

Declaration
public HeatHaze(int intensity, int randomShift, int speedMin, int speedMax, Vector2 scanSize, Vector2 renderSize, bool showInside = false)
Parameters
Type Name Description
Int32 intensity
Int32 randomShift
Int32 speedMin
Int32 speedMax
Vector2 scanSize
Vector2 renderSize
Boolean showInside

Properties

| Improve this Doc View Source

Intensity

The intensity of the effect, from 0 to 255.

Declaration
public int Intensity { readonly get; set; }
Property Value
Type Description
Int32
| Improve this Doc View Source

RandomShift

A random jitter, from 0 to 255.

Declaration
public int RandomShift { readonly get; set; }
Property Value
Type Description
Int32
| Improve this Doc View Source

RenderSize

Size in pixels the chunk will be when rendered back to the screen, from 0 to 1000.

Declaration
public Vector2 RenderSize { readonly get; set; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

ScanSize

Size in pixels of the chunk grabbed from the screen, from -1000 to 1000.

Declaration
public Vector2 ScanSize { readonly get; set; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

ShowInside

Set to true to enable the heat haze effect when inside a building.

Declaration
public bool ShowInside { readonly get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

SpeedMax

The fastest effect speed, from 0 to 1000.

Declaration
public int SpeedMax { readonly get; set; }
Property Value
Type Description
Int32
| Improve this Doc View Source

SpeedMin

The slowest effect speed, from 0 to 1000.

Declaration
public int SpeedMin { readonly get; set; }
Property Value
Type Description
Int32

Methods

| Improve this Doc View Source

FromRaw(Tuple<Int32, Int32, Int32, Int32, Int32, Int32, Int32, Tuple<Int32, Boolean>>)

Creates a heat haze from the raw MTA function output

Declaration
public static HeatHaze FromRaw(Tuple<int, int, int, int, int, int, int, Tuple<int, bool>> raw)
Parameters
Type Name Description
Tuple<Int32, Int32, Int32, Int32, Int32, Int32, Int32, Tuple<Int32, Boolean>> raw
Returns
Type Description
HeatHaze
  • Improve this Doc
  • View Source
Back to top Generated by DocFX