GenerateOffsetAndForce Method

Project Mercury API

[This is preliminary documentation and is subject to change.]

Generates an offset vector and force vector for a Particle when it is released.

Namespace:  ProjectMercury.Emitters
Assembly:  ProjectMercury (in ProjectMercury.dll) Version: 3.1.0.0

Syntax

C#
protected virtual void GenerateOffsetAndForce(
	out Vector2 offset,
	out Vector2 force
)
Visual Basic (Declaration)
Protected Overridable Sub GenerateOffsetAndForce ( _
	<OutAttribute> ByRef offset As Vector2, _
	<OutAttribute> ByRef force As Vector2 _
)
Visual C++
protected:
virtual void GenerateOffsetAndForce(
	[OutAttribute] Vector2% offset, 
	[OutAttribute] Vector2% force
)

Parameters

offset
Type: Vector2 %
The offset of the Particle from the trigger location.
force
Type: Vector2 %
A unit vector defining the initial force of the Particle.

See Also