Namespace: DeltaEngine.Rendering3D
Assembly: DeltaEngine.Rendering3D (in DeltaEngine.Rendering3D.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Rendering3D.Tests.MeshAnimationTests
2 unit tests call DeltaEngine.Rendering3D.Mesh.Animation
Assembly: DeltaEngine.Rendering3D (in DeltaEngine.Rendering3D.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: MeshAnimationRemarks
Examples
[Test, CloseAfterFirstFrame] public void CreateMeshAnimationByCreationData() { MeshAnimation animation = CreateAnimationWith75Frames(FramesPerSecond); Assert.AreEqual(NumberOfAnimationFrames, animation.NumberOfFrames); Assert.AreEqual(FramesPerSecond, animation.FramesPerSecond); Assert.AreEqual(NumberOfAnimationFrames, animation.Frames.Length); Assert.AreEqual(3, animation.Duration); }
[Test] public void ShowWavingSkinnedRectangleFromModelData() { var geometry = CreateSkinnedGeometry(); var skinnedMesh = new Mesh(geometry, new Material(ShaderFlags.TexturedSkinned, "DeltaEngineLogoOpaque")); skinnedMesh.Animation = CreateWavingMeshAnimationWith60Fps(); new Model(new ModelData(skinnedMesh), Vector3D.Zero); }
See Also