public override void UpdateDebugPrimitive(CommandList commandList, IDebugPrimitive debugPrimitive) { HeightfieldDebugPrimitive heightfieldDebugPrimitive = debugPrimitive as HeightfieldDebugPrimitive; if (heightfieldDebugPrimitive == null) { return; } heightfieldDebugPrimitive.Update(commandList); }
public override IDebugPrimitive CreateUpdatableDebugPrimitive(GraphicsDevice graphicsDevice) { return(HeightfieldDebugPrimitive.New(graphicsDevice, this)); }