part_system_position - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Description

Sets the transformation origin for rendering of the given particle system, this is really only necessary if you want to transform the entire particle system.

Parameters

Parameter Data Type Description
ind integer index of the particle system
x double x coordinate of the origin
y double y coordinate of the origin

Return Values

void: This function does not return anything.

Example Call

// demonstrates setting the origin of a particle system
part_system_position(sys, x, y);

NOTOC

⚠️ **GitHub.com Fallback** ⚠️