C# 클래스 MixedIKManager, vive-holojam

상속: MonoBehaviour
파일 보기 프로젝트 열기: nyu-vr-research/vive-holojam

공개 프로퍼티들

프로퍼티 타입 설명
LimbWidth float
LimbsMaterial Material
LowerLimbWidth float
SpineOffset Vector3
_id_ int
elbowDirection Vector3
elbowScale float
footOffset Vector3
globalScale float
handOffset Vector3
headOffset Vector3
hint Vector3
kneeScale float
lineColor Color
lineDetail int
lowerArmLength float
maximumMidOffset float
minimumMidOffset float
mocapHeadset Transform
mocapLeftAnkle Transform
mocapLeftWrist Transform
mocapRightAnkle Transform
mocapRightWrist Transform
renderLines bool
showGizmos bool
snapHips bool
upperArmLength float

공개 메소드들

메소드 설명
Bind ( Transform mocap, Transform bone, Vector3 offset ) : void
BindAvatarToMocap ( ) : void
CheckForResize ( ) : void
FindSkeletalParts ( ) : void
IKArm ( Transform startJoint, Transform midJoint, Transform endJoint, float a, float b, bool rightArm ) : void
OnDrawGizmos ( ) : void
PositionBody ( ) : void
RebuildLine ( GameObject g, Vector3 points, GameObject e ) : void
ResizeAvatar ( ) : void
ResizeAvatarWithID ( int id ) : void
SolveHipsAndIK ( ) : void
SolveSpineAndOthers ( ) : void
Start ( ) : void
Update ( ) : void
averageHeadHeight ( ) : void
findHint ( Vector3 endEffectorPosition, bool right ) : Vector3
scaleConstants ( ) : void

비공개 메소드들

메소드 설명
SolveForHipsPosition ( ) : Vector3
SolveHipsIntersection ( Vector3 &hitPoint ) : bool
b3 ( float t, float p0, float p1, float p2, float p3 ) : float
b3p0 ( float t, float p ) : float
b3p1 ( float t, float p ) : float
b3p2 ( float t, float p ) : float
b3p3 ( float t, float p ) : float
dot ( float a, float b ) : float
getPoints ( Vector3 points ) : Vector3[]
interp ( Vector3 P, float t ) : Vector3
interpb3 ( Vector3 points, float t ) : Vector3
normalize ( float a ) : float[]

메소드 상세

Bind() 공개 메소드

public Bind ( Transform mocap, Transform bone, Vector3 offset ) : void
mocap Transform
bone Transform
offset Vector3
리턴 void

BindAvatarToMocap() 공개 메소드

public BindAvatarToMocap ( ) : void
리턴 void

CheckForResize() 공개 메소드

public CheckForResize ( ) : void
리턴 void

FindSkeletalParts() 공개 메소드

public FindSkeletalParts ( ) : void
리턴 void

IKArm() 공개 메소드

public IKArm ( Transform startJoint, Transform midJoint, Transform endJoint, float a, float b, bool rightArm ) : void
startJoint Transform
midJoint Transform
endJoint Transform
a float
b float
rightArm bool
리턴 void

OnDrawGizmos() 공개 메소드

public OnDrawGizmos ( ) : void
리턴 void

PositionBody() 공개 메소드

public PositionBody ( ) : void
리턴 void

RebuildLine() 공개 메소드

public RebuildLine ( GameObject g, Vector3 points, GameObject e ) : void
g GameObject
points Vector3
e GameObject
리턴 void

ResizeAvatar() 공개 메소드

public ResizeAvatar ( ) : void
리턴 void

ResizeAvatarWithID() 공개 정적인 메소드

public static ResizeAvatarWithID ( int id ) : void
id int
리턴 void

SolveHipsAndIK() 공개 메소드

public SolveHipsAndIK ( ) : void
리턴 void

SolveSpineAndOthers() 공개 메소드

public SolveSpineAndOthers ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

averageHeadHeight() 공개 메소드

public averageHeadHeight ( ) : void
리턴 void

findHint() 공개 메소드

public findHint ( Vector3 endEffectorPosition, bool right ) : Vector3
endEffectorPosition Vector3
right bool
리턴 Vector3

scaleConstants() 공개 메소드

public scaleConstants ( ) : void
리턴 void

프로퍼티 상세

LimbWidth 공개적으로 프로퍼티

public float LimbWidth
리턴 float

LimbsMaterial 공개적으로 프로퍼티

public Material LimbsMaterial
리턴 Material

LowerLimbWidth 공개적으로 프로퍼티

public float LowerLimbWidth
리턴 float

SpineOffset 공개적으로 프로퍼티

public Vector3 SpineOffset
리턴 Vector3

_id_ 공개적으로 프로퍼티

public int _id_
리턴 int

elbowDirection 공개적으로 프로퍼티

public Vector3 elbowDirection
리턴 Vector3

elbowScale 공개적으로 프로퍼티

public float elbowScale
리턴 float

footOffset 공개적으로 프로퍼티

public Vector3 footOffset
리턴 Vector3

globalScale 공개적으로 프로퍼티

public float globalScale
리턴 float

handOffset 공개적으로 프로퍼티

public Vector3 handOffset
리턴 Vector3

headOffset 공개적으로 프로퍼티

public Vector3 headOffset
리턴 Vector3

hint 공개적으로 프로퍼티

public Vector3 hint
리턴 Vector3

kneeScale 공개적으로 프로퍼티

public float kneeScale
리턴 float

lineColor 공개적으로 프로퍼티

public Color lineColor
리턴 Color

lineDetail 공개적으로 프로퍼티

public int lineDetail
리턴 int

lowerArmLength 공개적으로 프로퍼티

public float lowerArmLength
리턴 float

maximumMidOffset 공개적으로 프로퍼티

public float maximumMidOffset
리턴 float

minimumMidOffset 공개적으로 프로퍼티

public float minimumMidOffset
리턴 float

mocapHeadset 공개적으로 프로퍼티

public Transform mocapHeadset
리턴 Transform

mocapLeftAnkle 공개적으로 프로퍼티

public Transform mocapLeftAnkle
리턴 Transform

mocapLeftWrist 공개적으로 프로퍼티

public Transform mocapLeftWrist
리턴 Transform

mocapRightAnkle 공개적으로 프로퍼티

public Transform mocapRightAnkle
리턴 Transform

mocapRightWrist 공개적으로 프로퍼티

public Transform mocapRightWrist
리턴 Transform

renderLines 공개적으로 프로퍼티

public bool renderLines
리턴 bool

showGizmos 공개적으로 프로퍼티

public bool showGizmos
리턴 bool

snapHips 공개적으로 프로퍼티

public bool snapHips
리턴 bool

upperArmLength 공개적으로 프로퍼티

public float upperArmLength
리턴 float