Animation utilities Utility functions for specifying animations. More...
#include "kzu_animation_clip.h"
#include "kzu_animation_key.h"
#include <kanzi/property/property_data_type.hpp>
#include <system/debug/kzs_error.h>
#include <system/kzs_types.h>
Namespaces | |
kanzi | |
Functions | |
KANZI_API kanzi::AnimationClipSharedPtr | kzuAnimationItemCreateColorAnimation (kanzi::Domain *domain, kzString relativePath, const struct KzuPropertyType *propertyType, const struct KzcColorRGBA *colorStart, const struct KzcColorRGBA *colorEnd, kzFloat duration, enum KzuAnimationInterpolation interpolation) |
Creates target color animation item. More... | |
KANZI_API kanzi::AnimationClipSharedPtr | kzuAnimationItemCreateVector2Animation (kanzi::Domain *domain, kzString relativePath, const struct KzuPropertyType *propertyType, const struct KzcVector2 *positionStart, const struct KzcVector2 *positionEnd, kzFloat duration, enum KzuAnimationInterpolation interpolation) |
Creates vector2 animation item. More... | |
KANZI_API kanzi::AnimationClipSharedPtr | kzuAnimationItemCreateVector3Animation (kanzi::Domain *domain, kzString relativePath, const struct KzuPropertyType *propertyType, const struct KzcVector3 *positionStart, const struct KzcVector3 *positionEnd, kzFloat duration, enum KzuAnimationInterpolation interpolation) |
Creates vector3 animation item. More... | |
KANZI_API kanzi::AnimationClipSharedPtr | kzuAnimationItemCreateFloatAnimation (kanzi::Domain *domain, kzString relativePath, const struct KzuPropertyType *propertyType, kzFloat valueStart, kzFloat valueEnd, kzFloat duration, enum KzuAnimationInterpolation interpolation) |
Creates target float animation item. More... | |
KANZI_API kanzi::AnimationClipSharedPtr | kzuAnimationItemCreateMatrix3x3Animation (kanzi::Domain *domain, kzString relativePath, const struct KzuPropertyType *propertyType, const struct KzcMatrix3x3 *valueStart, const struct KzcMatrix3x3 *valueEnd, kzFloat duration, enum KzuAnimationInterpolation interpolation) |
Creates target matrix3x3 animation item. More... | |
KANZI_API kanzi::AnimationClipSharedPtr | kzuAnimationItemCreateMatrix3x3AnimationSRT (kanzi::Domain *domain, kzString relativePath, const struct KzuPropertyType *propertyType, const struct KzcVector2 *scaleStart, kzFloat rotateStart, const struct KzcVector2 *translationStart, const struct KzcVector2 *scaleEnd, kzFloat rotateEnd, const struct KzcVector2 *translationEnd, kzFloat duration, enum KzuAnimationInterpolation interpolation) |
Creates target matrix3x3 animation item. More... | |
KANZI_API kanzi::AnimationClipSharedPtr | kzuAnimationItemCreateMatrix4x4Animation (kanzi::Domain *domain, kzString relativePath, const struct KzuPropertyType *propertyType, const struct KzcMatrix4x4 *valueStart, const struct KzcMatrix4x4 *valueEnd, kzFloat duration, enum KzuAnimationInterpolation interpolation) |
Creates target matrix4x4 animation item. More... | |
KANZI_API kanzi::AnimationClipSharedPtr | kzuAnimationItemCreateMatrix4x4SRTAnimation (kanzi::Domain *domain, kzString relativePath, const struct KzuPropertyType *propertyType, const struct KzcVector3 *scaleStart, const struct KzcVector3 *rotationStart, const struct KzcVector3 *translationStart, const struct KzcVector3 *scaleEnd, const struct KzcVector3 *rotationEnd, const struct KzcVector3 *translationEnd, kzFloat duration, enum KzuAnimationInterpolation interpolation) |
Creates target matrix4x4 animation item. More... | |
KANZI_API kzsError | kzuPropertyBinaryTargetAttributeConvertToBinaryDataType (const struct KzuPropertyType *propertyType, enum KzuPropertyBinaryTargetAttribute targetAttribute, enum KzuPropertyBinaryDataType *out_binaryDataType) |
Find out corresponding binary data type for binary target attribute. More... | |
KANZI_API kzsError | kzuPropertyBinaryTargetAttributeConvertToTargetAttribute (const struct KzuPropertyType *propertyType, enum KzuPropertyBinaryTargetAttribute binaryTargetAttribute, kanzi::PropertyField *out_targetAttribute) |
Find out corresponding target attribute for binary target attribute. More... | |
Animation utilities Utility functions for specifying animations.
Copyright 2008-2020 by Rightware. All rights reserved.
Binary target attribute type.
KANZI_API kanzi::AnimationClipSharedPtr kzuAnimationItemCreateColorAnimation | ( | kanzi::Domain * | domain, |
kzString | relativePath, | ||
const struct KzuPropertyType * | propertyType, | ||
const struct KzcColorRGBA * | colorStart, | ||
const struct KzcColorRGBA * | colorEnd, | ||
kzFloat | duration, | ||
enum KzuAnimationInterpolation | interpolation | ||
) |
Creates target color animation item.
KANZI_API kanzi::AnimationClipSharedPtr kzuAnimationItemCreateVector2Animation | ( | kanzi::Domain * | domain, |
kzString | relativePath, | ||
const struct KzuPropertyType * | propertyType, | ||
const struct KzcVector2 * | positionStart, | ||
const struct KzcVector2 * | positionEnd, | ||
kzFloat | duration, | ||
enum KzuAnimationInterpolation | interpolation | ||
) |
Creates vector2 animation item.
KANZI_API kanzi::AnimationClipSharedPtr kzuAnimationItemCreateVector3Animation | ( | kanzi::Domain * | domain, |
kzString | relativePath, | ||
const struct KzuPropertyType * | propertyType, | ||
const struct KzcVector3 * | positionStart, | ||
const struct KzcVector3 * | positionEnd, | ||
kzFloat | duration, | ||
enum KzuAnimationInterpolation | interpolation | ||
) |
Creates vector3 animation item.
KANZI_API kanzi::AnimationClipSharedPtr kzuAnimationItemCreateFloatAnimation | ( | kanzi::Domain * | domain, |
kzString | relativePath, | ||
const struct KzuPropertyType * | propertyType, | ||
kzFloat | valueStart, | ||
kzFloat | valueEnd, | ||
kzFloat | duration, | ||
enum KzuAnimationInterpolation | interpolation | ||
) |
Creates target float animation item.
KANZI_API kanzi::AnimationClipSharedPtr kzuAnimationItemCreateMatrix3x3Animation | ( | kanzi::Domain * | domain, |
kzString | relativePath, | ||
const struct KzuPropertyType * | propertyType, | ||
const struct KzcMatrix3x3 * | valueStart, | ||
const struct KzcMatrix3x3 * | valueEnd, | ||
kzFloat | duration, | ||
enum KzuAnimationInterpolation | interpolation | ||
) |
Creates target matrix3x3 animation item.
KANZI_API kanzi::AnimationClipSharedPtr kzuAnimationItemCreateMatrix3x3AnimationSRT | ( | kanzi::Domain * | domain, |
kzString | relativePath, | ||
const struct KzuPropertyType * | propertyType, | ||
const struct KzcVector2 * | scaleStart, | ||
kzFloat | rotateStart, | ||
const struct KzcVector2 * | translationStart, | ||
const struct KzcVector2 * | scaleEnd, | ||
kzFloat | rotateEnd, | ||
const struct KzcVector2 * | translationEnd, | ||
kzFloat | duration, | ||
enum KzuAnimationInterpolation | interpolation | ||
) |
Creates target matrix3x3 animation item.
KANZI_API kanzi::AnimationClipSharedPtr kzuAnimationItemCreateMatrix4x4Animation | ( | kanzi::Domain * | domain, |
kzString | relativePath, | ||
const struct KzuPropertyType * | propertyType, | ||
const struct KzcMatrix4x4 * | valueStart, | ||
const struct KzcMatrix4x4 * | valueEnd, | ||
kzFloat | duration, | ||
enum KzuAnimationInterpolation | interpolation | ||
) |
Creates target matrix4x4 animation item.
KANZI_API kanzi::AnimationClipSharedPtr kzuAnimationItemCreateMatrix4x4SRTAnimation | ( | kanzi::Domain * | domain, |
kzString | relativePath, | ||
const struct KzuPropertyType * | propertyType, | ||
const struct KzcVector3 * | scaleStart, | ||
const struct KzcVector3 * | rotationStart, | ||
const struct KzcVector3 * | translationStart, | ||
const struct KzcVector3 * | scaleEnd, | ||
const struct KzcVector3 * | rotationEnd, | ||
const struct KzcVector3 * | translationEnd, | ||
kzFloat | duration, | ||
enum KzuAnimationInterpolation | interpolation | ||
) |
Creates target matrix4x4 animation item.
KANZI_API kzsError kzuPropertyBinaryTargetAttributeConvertToBinaryDataType | ( | const struct KzuPropertyType * | propertyType, |
enum KzuPropertyBinaryTargetAttribute | targetAttribute, | ||
enum KzuPropertyBinaryDataType * | out_binaryDataType | ||
) |
Find out corresponding binary data type for binary target attribute.
KANZI_API kzsError kzuPropertyBinaryTargetAttributeConvertToTargetAttribute | ( | const struct KzuPropertyType * | propertyType, |
enum KzuPropertyBinaryTargetAttribute | binaryTargetAttribute, | ||
kanzi::PropertyField * | out_targetAttribute | ||
) |
Find out corresponding target attribute for binary target attribute.