public override void UpdateDebugPrimitive(CommandList commandList, IDebugPrimitive debugPrimitive)
        {
            HeightfieldDebugPrimitive heightfieldDebugPrimitive = debugPrimitive as HeightfieldDebugPrimitive;

            if (heightfieldDebugPrimitive == null)
            {
                return;
            }

            heightfieldDebugPrimitive.Update(commandList);
        }
Exemplo n.º 2
0
 public override IDebugPrimitive CreateUpdatableDebugPrimitive(GraphicsDevice graphicsDevice)
 {
     return(HeightfieldDebugPrimitive.New(graphicsDevice, this));
 }