public GetCurveOfComponent ( int component ) : AnimationCurve | ||
component | int | |
리턴 | AnimationCurve |
public AnimationCurve GetCurveOfComponent(int component)
{
switch (component)
{
case 0:
return this.eulerX;
case 1:
return this.eulerY;
case 2:
return this.eulerZ;
}
return null;
}
public AnimationCurve GetCurve() { return(renderer.GetCurveOfComponent(component)); }