The head of an insect.
Unity Properties
|
|
Antenna | leftAntenna |
| | The antenna on the left side of the head.
|
|
Antenna | rightAntenna |
| | The antenna on the right side of the head.
|
|
Mandible | leftMandible |
| | The mandible on the left side of the head.
|
|
Mandible | rightMandible |
| | The mandible on the right side of the head.
|
|
Creature | creature |
| | The creature to which the bone belongs.
|
◆ DetectFeatures()
| override void Creatures.Insects.Head.DetectFeatures |
( |
| ) |
|
|
virtual |
Detect features on this bone.
This can be child bones or specific properties for this bone
Reimplemented from Creatures.Bone.
◆ RemoveFeatures()
| override void Creatures.Insects.Head.RemoveFeatures |
( |
| ) |
|
|
virtual |
Remove features from this bone.
This can be child bones or specific properties for this bone
Reimplemented from Creatures.Bone.
◆ DetectAntennaeAndMandibles()
| virtual void Creatures.Insects.Head.DetectAntennaeAndMandibles |
( |
Pair[] | pairs | ) |
|
|
protectedvirtual |
Detect the antennae and mandibles from the pairs of bone in the head.
- Parameters
-
| pairs | The left/right pairs of bones in the head |
◆ DetectAntennaeAndMandibles< AntennaType >()
Detect the antennae and mandibles from the pairs of bone in the head.
- Template Parameters
-
| AntennaType | The type of Antenna to detect |
- Parameters
-
| pairs | The left/right pairs of bones in the head |
◆ GetStdOrientation()
| override Quaternion Creatures.Head.GetStdOrientation |
( |
| ) |
|
|
virtualinherited |
Get the standardized orientation for a bone.
- Returns
This orientation is independent from the orientation of the bone in the model The orientation matches the oriention in the target rig
Reimplemented from Creatures.Bone.
◆ SetBone< BoneType >()
| BoneType Creatures.Bone.SetBone< BoneType > |
( |
Creature | creature, |
|
|
Transform | transform ) |
|
staticinherited |
Set a Bone component to the give transform.
- Template Parameters
-
- Parameters
-
| creature | The creature to which the bone belongs |
| transform | The transform to assign the bone to |
- Returns
- The newly created bone
◆ UnsetBone< BoneType >()
| void Creatures.Bone.UnsetBone< BoneType > |
( |
Transform | transform | ) |
|
|
staticinherited |
Remove a bone from the given transform.
- Template Parameters
-
| BoneType | The bone type to remove |
- Parameters
-
| transform | The Transform to remove it from |
◆ Initialize()
| virtual void Creatures.Bone.Initialize |
( |
Creature | creature | ) |
|
|
protectedvirtualinherited |
Initiliaze the bone.
- Parameters
-
| creature | The creature to which the bone belongs |
The documentation for this class was generated from the following file: