コード例 #1
0
    public StagedSkinningTransform GetChainedTransform(ChannelOutputs outputs, StagedSkinningTransform parentTransform)
    {
        ScalingTransform scalingTransform        = GetObjectCenteredScalingTransform(outputs);
        ScalingTransform chainedScalingTransform = scalingTransform.Chain(parentTransform.ScalingStage);

        DualQuaternion rotationTransform        = GetObjectCenteredRotationTransform(outputs, parentTransform.ScalingStage);
        DualQuaternion chainedRotationTransform = rotationTransform.Chain(parentTransform.RotationStage);

        return(new StagedSkinningTransform(chainedScalingTransform, chainedRotationTransform));
    }