Reign.Video.Abstraction.SoftwareBone.SoftwareBone C# (CSharp) Méthode

SoftwareBone() public méthode

public SoftwareBone ( RMX_ArmatureBone bone ) : System.Collections.Generic
bone RMX_ArmatureBone
Résultat System.Collections.Generic
        public SoftwareBone(RMX_ArmatureBone bone)
        {
            Name = bone.Name;
            InheritScale = bone.InheritScale;
            InheritRotation = bone.InheritRotation;
            Position = new Vector3(bone.Position.Values[0], bone.Position.Values[1], bone.Position.Values[2]);
            Rotation = new Matrix3
            (
                new Vector3(bone.Rotation.Values[0], bone.Rotation.Values[1], bone.Rotation.Values[2]),
                new Vector3(bone.Rotation.Values[3], bone.Rotation.Values[4], bone.Rotation.Values[5]),
                new Vector3(bone.Rotation.Values[6], bone.Rotation.Values[7], bone.Rotation.Values[8])
            );
        }