Miles Sound System SDK 7.2a

AIL_sample_3D_velocity

The function AIL_sample_3D_velocity retrieves the current velocity of a 3D sample.

void AIL_sample_3D_velocity(
  HSAMPLE S,
  F32 *dX_per_ms,
  F32 *dY_per_ms,
  F32 *dZ_per_ms
);

In Parameters

S
specifies the 3D sample.

Out Parameters

dX_per_ms
returns the current non-normalized delta value in meters per millisecond in the X dimension.
dY_per_ms
returns the current non-normalized delta value in meters per millisecond in the Y dimension.
dZ_per_ms
returns the current non-normalized delta value in meters per millisecond in the Z dimension.

Discussion

This function always returns non-normalized vectors.

You can pass NULL for any value that you're not interested in.


Group: Digital Audio Services
Related Functions: AIL_set_sample_3D_position, AIL_set_sample_3D_velocity, AIL_set_sample_3D_velocity_vector
Related Basic Types: F32, HSAMPLE, void
Related FAQs: What's the best way to port my older Miles application to MSS 7?

For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.