OrbitCamera action. More...
Inherits ActionCamera.
Public Member Functions | |
void | sphericalRadius (float *r, float *zenith, float *azimuth) |
Positions the camera according to spherical coordinates. More... | |
OrbitCamera * | clone () const override |
override Action . | |
Public Member Functions inherited from ActionCamera | |
virtual ActionCamera * | reverse () const override |
override Action . | |
Public Member Functions inherited from ActionInterval | |
float | getElapsed (void) |
How many seconds had elapsed since the actions started to run. More... | |
var | getElapsed () |
How many seconds had elapsed since the actions started to run. More... | |
local | getElapsed () |
How many seconds had elapsed since the actions started to run. More... | |
void | setAmplitudeRate (float amp) |
Sets the amplitude rate, extension in GridAction. More... | |
float | getAmplitudeRate (void) |
Gets the ampliture rate, extension in GridAction. More... | |
virtual bool | isDone (void) const override |
override Action . | |
local | isDone () |
override Action . | |
Static Public Member Functions | |
static OrbitCamera * | create (float t, float radius, float deltaRadius, float angleZ, float deltaAngleZ, float angleX, float deltaAngleX) |
Creates a OrbitCamera action with radius, delta-radius, z, deltaZ, x, deltaX. More... | |
var | create ( var t, var radius, var deltaRadius, var angleZ, var deltaAngleZ, var angleX, var deltaAngleX) |
Creates a OrbitCamera action with radius, delta-radius, z, deltaZ, x, deltaX. More... | |
local | create ( local t, local radius, local deltaRadius, local angleZ, local deltaAngleZ, local angleX, local deltaAngleX) |
Creates a OrbitCamera action with radius, delta-radius, z, deltaZ, x, deltaX. More... | |
Protected Member Functions | |
bool | initWithDuration (float t, float radius, float deltaRadius, float angleZ, float deltaAngleZ, float angleX, float deltaAngleX) |
Initializes a OrbitCamera action with radius, delta-radius, z, deltaZ, x, deltaX. | |
var | initWithDuration ( var t, var radius, var deltaRadius, var angleZ, var deltaAngleZ, var angleX, var deltaAngleX) |
Initializes a OrbitCamera action with radius, delta-radius, z, deltaZ, x, deltaX. | |
local | initWithDuration ( local t, local radius, local deltaRadius, local angleZ, local deltaAngleZ, local angleX, local deltaAngleX) |
Initializes a OrbitCamera action with radius, delta-radius, z, deltaZ, x, deltaX. | |
Protected Member Functions inherited from ActionInterval | |
bool | initWithDuration (float d) |
initializes the action with the duration. More... | |
var | initWithDuration ( var d) |
initializes the action with the duration. More... | |
local | initWithDuration ( local d) |
initializes the action with the duration. More... | |
OrbitCamera action.
Orbits the camera around the center of the screen using spherical coordinates.
|
static |
Creates a OrbitCamera action with radius, delta-radius, z, deltaZ, x, deltaX.
Duration in seconds. The start radius. The delta radius. The start angle in Z. The delta angle in Z. The start angle in X. The delta angle in X. An OrbitCamera.
|
static |
Creates a OrbitCamera action with radius, delta-radius, z, deltaZ, x, deltaX.
Duration in seconds. The start radius. The delta radius. The start angle in Z. The delta angle in Z. The start angle in X. The delta angle in X. An OrbitCamera.
|
static |
Creates a OrbitCamera action with radius, delta-radius, z, deltaZ, x, deltaX.
Duration in seconds. The start radius. The delta radius. The start angle in Z. The delta angle in Z. The start angle in X. The delta angle in X. An OrbitCamera.
void sphericalRadius | ( | float * | r, |
float * | zenith, | ||
float * | azimuth | ||
) |
Positions the camera according to spherical coordinates.
The spherical radius. The spherical zenith. The spherical azimuth.
var sphericalRadius | ( | var | r, |
var | zenith, | ||
var | azimuth | ||
) |
Positions the camera according to spherical coordinates.
The spherical radius. The spherical zenith. The spherical azimuth.
local sphericalRadius | ( | local | r, |
local | zenith, | ||
local | azimuth | ||
) |
Positions the camera according to spherical coordinates.
The spherical radius. The spherical zenith. The spherical azimuth.