Miles Sound System SDK 7.2a

AIL_sample_3D_position

The function AIL_sample_3D_position retrieves the current 3D position of a 3D sample.

S32 AIL_sample_3D_position(
  HSAMPLE S,
  F32 *X,
  F32 *Y,
  F32 *Z
);

In Parameters

S
specifies the 3D sample.

Out Parameters

X
returns the X coordinate.
Y
returns the Y coordinate.
Z
returns the Z coordinate.

Returns

Nonzero if the sample has been placed under 3D control by a call to AIL_set_sample_3D_position; zero if the sample is not subject to 3D positioning.

Discussion

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


Group: Digital Audio Services
Related Functions: AIL_set_sample_3D_position
Related Basic Types: F32, HSAMPLE, S32
Related FAQs: How do I use multi-channel sound output in Miles?, 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.