SetWaveQuadDirection
клиент SET_WAVE_QUAD_DIRECTION
c
BOOL SET_WAVE_QUAD_DIRECTION(int waveQuad, float directionX, float directionY);directionX/Y should be constrained between -1.0 and 1.0 A positive value will create the wave starting at min and rolling towards max A negative value will create the wave starting at max and rolling towards min Applying both values allows you to make diagonal waves
Примеры
lua
local success = SetWaveQuadDirection(0, 0.3, 0.1)Параметры
- waveQuad: The wave quad index
- directionX: The minX coordinate
- directionY: The minY coordinate
Возвращает
Returns true on success.
Страница собрана автоматически из native-decls/SetWaveQuadDirection.md. Нашли ошибку — поправьте исходный файл.