Third Person Cover Shooter  1.6
CoverShooter.IKTransform Class Reference

Representation of a transform manipulated by IK. More...

Public Member Functions

void Reset (Transform link, Transform parent)
 Prepare the transform for manipulation. More...
 
void Reset (Transform link, Transform parent, Vector3 offsetPosition, Quaternion offsetOrientation)
 Prepare the transform for manipulation. More...
 
void Calc ()
 Calculate position and rotation for the transform and recursively call child transforms. More...
 

Public Attributes

Quaternion Change = Quaternion.identity
 Local accumulated change in rotation. More...
 
Transform Link
 Link to the Transform that IKTransform represents. More...
 
IKTransform Parent
 Link to the parent transform representation. More...
 
IKTransform Child
 Link to the child transform representation. More...
 
Vector3 Position
 Current calculated position in world space. More...
 
Quaternion Rotation
 Current calculated rotation in world space. More...
 
Vector3 SavedPosition
 Saved position in world space of the linked bone. More...
 
Quaternion SavedRotation
 Saved rotation in world space of the linked bone. More...
 
Vector3 SavedOffsetedForward
 Saved forward vector in world space of the linked bone. More...
 
Vector3 SavedLocalPosition
 Saved position in local space of the linked bone. More...
 
bool HasOffset
 Does the bone have an offset; More...
 
Vector3 OffsetPosition
 Offset position. More...
 
Quaternion OffsetOrientation
 Offset orientation. More...
 

Properties

Vector3 Forward [get]
 Forward vector of the transform. More...
 

Detailed Description

Representation of a transform manipulated by IK.

Member Function Documentation

◆ Calc()

void CoverShooter.IKTransform.Calc ( )

Calculate position and rotation for the transform and recursively call child transforms.

◆ Reset() [1/2]

void CoverShooter.IKTransform.Reset ( Transform  link,
Transform  parent 
)

Prepare the transform for manipulation.

◆ Reset() [2/2]

void CoverShooter.IKTransform.Reset ( Transform  link,
Transform  parent,
Vector3  offsetPosition,
Quaternion  offsetOrientation 
)

Prepare the transform for manipulation.

Member Data Documentation

◆ Change

Quaternion CoverShooter.IKTransform.Change = Quaternion.identity

Local accumulated change in rotation.

◆ Child

IKTransform CoverShooter.IKTransform.Child

Link to the child transform representation.

◆ HasOffset

bool CoverShooter.IKTransform.HasOffset

Does the bone have an offset;

◆ Link

Transform CoverShooter.IKTransform.Link

Link to the Transform that IKTransform represents.

◆ OffsetOrientation

Quaternion CoverShooter.IKTransform.OffsetOrientation

Offset orientation.

◆ OffsetPosition

Vector3 CoverShooter.IKTransform.OffsetPosition

Offset position.

◆ Parent

IKTransform CoverShooter.IKTransform.Parent

Link to the parent transform representation.

◆ Position

Vector3 CoverShooter.IKTransform.Position

Current calculated position in world space.

◆ Rotation

Quaternion CoverShooter.IKTransform.Rotation

Current calculated rotation in world space.

◆ SavedLocalPosition

Vector3 CoverShooter.IKTransform.SavedLocalPosition

Saved position in local space of the linked bone.

◆ SavedOffsetedForward

Vector3 CoverShooter.IKTransform.SavedOffsetedForward

Saved forward vector in world space of the linked bone.

◆ SavedPosition

Vector3 CoverShooter.IKTransform.SavedPosition

Saved position in world space of the linked bone.

◆ SavedRotation

Quaternion CoverShooter.IKTransform.SavedRotation

Saved rotation in world space of the linked bone.

Property Documentation

◆ Forward

Vector3 CoverShooter.IKTransform.Forward
get

Forward vector of the transform.


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