AoMEngineLibrary.Graphics.Grn.GrnBoneTrack.Write C# (CSharp) Method

Write() public method

public Write ( GrnNode animTraTraSecNode, int boneTrackIndex ) : void
animTraTraSecNode GrnNode
boneTrackIndex int
return void
        public void Write(GrnNode animTraTraSecNode, int boneTrackIndex)
        {
            GrnAnimationTransformTrackKeysNode attKeysNode =
                new GrnAnimationTransformTrackKeysNode(animTraTraSecNode);
            attKeysNode.TransformChannelIndex = boneTrackIndex + 1;
            attKeysNode.PositionKeys = this.PositionKeys;
            attKeysNode.RotationKeys = this.RotationKeys;
            attKeysNode.ScaleKeys = this.ScaleKeys;
            attKeysNode.Positions = this.Positions;
            attKeysNode.Rotations = this.Rotations;
            attKeysNode.Scales = this.Scales;
            animTraTraSecNode.AppendChild(attKeysNode);
        }