Dali 3D User Interface Engine
Classes | Namespaces | Typedefs | Enumerations | Functions
Dali_core_animation
Collaboration diagram for Dali_core_animation:

Classes

class  Dali::AlphaFunction
 Alpha functions are used in animations to specify the rate of change of the animation parameter over time. More...
 
class  Dali::Animation
 Dali::Animation can be used to animate the properties of any number of objects, typically Actors. More...
 
struct  Dali::LocalSource
 Identifies a property from an object. More...
 
struct  Dali::ParentSource
 Identifies a property from the parent of an object. More...
 
struct  Dali::Source
 Identifies a property from any object. More...
 
struct  Dali::ConstraintSource
 The source of an input property for a constraint. More...
 
class  Dali::Constraint
 An abstract base class for Constraints. More...
 
struct  Dali::EqualToConstraint
 The constraint function that updates the target property with the value of the first source. More...
 
struct  Dali::RelativeToConstraint
 The constraint function that updates the target property with the value of the first source multiplied by scale parameter (for Vector3 properties). More...
 
struct  Dali::RelativeToConstraintFloat
 The constraint function that updates the target property with the value of the first source multiplied by scale parameter (for float properties). More...
 
class  Dali::KeyFrames
 A set of key frames for a property that can be animated using Dali::Animation::AnimateBetween(). More...
 
class  Dali::LinearConstrainer
 LinearConstrainer applies constraints to objects given a linear map. More...
 
class  Dali::Path
 A 3D parametric curve. More...
 
struct  Dali::TimePeriod
 A value-type representing a period of time within an animation. More...
 

Namespaces

namespace  Dali::DALI_INTERNAL
 

Typedefs

typedef float(* Dali::AlphaFunctionPrototype )(float progress)
 Prototype of an alpha function .0. More...
 
typedef Vector< PropertyInput * > Dali::PropertyInputContainer
 

Enumerations

enum  Dali::SourceType { Dali::OBJECT_PROPERTY, Dali::LOCAL_PROPERTY, Dali::PARENT_PROPERTY }
 Constraint source types. More...
 

Functions

void Dali::LookAt (Dali::Quaternion &current, const Dali::PropertyInputContainer &inputs)
 Constraint function to aim a camera at a target. More...
 

Detailed Description

Typedef Documentation

typedef float(* Dali::AlphaFunctionPrototype)(float progress)

Prototype of an alpha function .0.

Definition at line 36 of file alpha-function.h.

typedef Vector< PropertyInput* > Dali::PropertyInputContainer

Definition at line 43 of file constraint.h.

Enumeration Type Documentation

Constraint source types.

This specifies the location of a property, which is used as an input for a constraint function. .0

Enumerator
OBJECT_PROPERTY 

The property comes from an arbitrary object. .0.

LOCAL_PROPERTY 

The property comes from the object which the constraint is applied to. .0.

PARENT_PROPERTY 

The property comes from the parent of the object, which the constraint is applied to. .0.

Definition at line 38 of file constraint-source.h.

Function Documentation

void Dali::LookAt ( Dali::Quaternion current,
const Dali::PropertyInputContainer inputs 
)
inline

Constraint function to aim a camera at a target.

Constraint which sets camera's orientation given camera world position and a target world position. Uses target's up vector to orient the constrained actor along the vector between camera position and target position.

.0

Parameters
[in,out]currentThe current orientation property value, the constrained value is set.
[in]inputsContains the world position of the target, the world position of the camera, and the world orientation of the target

Definition at line 224 of file constraints.h.

References Dali::Vector3::Cross(), Dali::PropertyInput::GetQuaternion(), Dali::PropertyInput::GetVector3(), Dali::Vector3::Normalize(), Dali::Quaternion::Rotate(), and Dali::Vector3::YAXIS.

Referenced by Dali::Internal::SceneGraph::CameraAttachment::UpdateViewMatrix(), UtcDaliCameraActorCheckLookAtAndFreeLookViews01(), UtcDaliCameraActorCheckLookAtAndFreeLookViews02(), and UtcDaliConstraintsLookAt().

Here is the call graph for this function:

Here is the caller graph for this function:

Dali Docs Home
Read more about Dali