Creature Control for Unity v0.1
Loading...
Searching...
No Matches
Creatures.Target Class Reference

Description

A target is used to pose a bone.

Inheritance diagram for Creatures.Target:
Creatures.HeadTarget Creatures.Insects.AntennaTarget Creatures.LegTarget Creatures.TailTarget Creatures.TorsoTarget Creatures.Insects.HeadTarget

Public Member Functions

virtual void Align ()
 Align the pose.
virtual void PoseTarget ()
 Update the pose of the target bone.

Public Attributes

Rig rig
 The target Rig to which this target belongs.
bool isMatched = false
 Is this target matched to a bone?

Member Function Documentation

◆ Align()

virtual void Creatures.Target.Align ( )
virtual

Align the pose.

This will make the pose of the creature symmetric

Reimplemented in Creatures.HeadTarget, Creatures.Insects.HeadTarget, and Creatures.TailTarget.

◆ PoseTarget()

virtual void Creatures.Target.PoseTarget ( )
virtual

Update the pose of the target bone.

Reimplemented in Creatures.Insects.AntennaTarget, Creatures.Insects.HeadTarget, and Creatures.LegTarget.


The documentation for this class was generated from the following file: