SkinnedSpriteRenderΒΆ

Inherited: SpriteRender

DescriptionΒΆ

The SkinnedSpriteRender component allows you to display 2D Skeletal Sprite to use in both 2D and 3D scenes.

Public MethodsΒΆ

Armature *

armature () const

Vector3

boundsCenter () const

Vector3

boundsExtent () const

void

setArmature (Armature * armature)

void

setBoundsCenter (const Vector3 & center)

void

setBoundsExtent (const Vector3 & extent)

Static MethodsΒΆ

None

Methods DescriptionΒΆ

Armature * SkinnedSpriteRender::armature () const

Returns a Armature component for the attached skeleton.

See also setArmature().


Vector3 SkinnedSpriteRender::boundsCenter () const

Returns the center of the local bounding box.

See also setBoundsCenter().


Vector3 SkinnedSpriteRender::boundsExtent () const

Returns the extent of the local bounding box.

See also setBoundsExtent().


void SkinnedSpriteRender::setArmature (Armature * armature)

Attaches an armature skeleton.

See also armature().


void SkinnedSpriteRender::setBoundsCenter (Vector3 & center)

Sets the center of the local bounding box.

See also boundsCenter().


void SkinnedSpriteRender::setBoundsExtent (Vector3 & extent)

Sets the extent of the local bounding box.

See also boundsExtent().